26 KiB
ProjectProjectsProject
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Analytics | Pointer to bool | Analytics is whether the web-analytics beacon is injected into this site's pages. It is ON by default — a project has to opt out — and it is what the static builder reads to decide whether to inject at all. | [optional] |
| Bucket | Pointer to string | Bucket is the object-store bucket the site's files are served out of. | [optional] |
| CacheControl | Pointer to string | CacheControl is the Cache-Control policy the edge serves this site's HTML under — how long a reader may hold a stale page before asking again. Assets are content-addressed and are not governed by it. | [optional] |
| CreatedAt | Pointer to int64 | CreatedAt is when the project was created, as Unix seconds. | [optional] |
| CurrentDeploymentId | Pointer to string | CurrentDeploymentID names the deployment currently serving, so a caller can ask what is live without scanning the history. | [optional] |
| Description | Pointer to string | Description is the one-line summary, which is copied onto forks of this project and shown on a gallery card. | [optional] |
| DropLocal | Pointer to bool | DropLocal is whether events a developer's own machine sends (localhost, 127.0.0.1, *.local) are dropped at ingest. ON by default. | [optional] |
| ForkedFrom | Pointer to string | ForkedFrom is the parent this project was forked from ("<org>/<slug>" of a published project, or a catalog template slug) — the attribution edge a gallery credits. | [optional] |
| Framework | Pointer to string | Framework is a BUILD HINT from a closed set, defaulting to static. It tells CI how to build a linked repo and never gates a deploy, so a wrong value costs a build rather than access. | [optional] |
| Hidden | Pointer to bool | Hidden is PLATFORM MODERATION, and it is a different axis from visibility: it pulls a public project out of the catalogue without editing the publisher's own choice, so un-hiding restores exactly what they asked for. A project is listed only when it is public AND not hidden. Always present, never omitted, for the same reason as visibility. | [optional] |
| HiddenReason | Pointer to string | HiddenReason is why moderation hid it. Absent when it is not hidden. | [optional] |
| Id | Pointer to string | ID is the project's internal identifier. It is stable across a rename, but it is not what the API addresses this project by — `slug` is. | [optional] |
| InternalNetworks | Pointer to []string | InternalNetworks are the site's own addresses, as CIDRs ("203.0.113.0/24"). A visit from one is the site's team: the tag config answers audience "internal" (Google Analytics tagged internal, no ad pixel) and its events are stamped internal and forwarded to no ad platform. Empty unless set. | [optional] |
| Key | Pointer to string | Key is the project's publishable ingest key, minted at create. It is the value the injected beacon carries and the ONE thing that attributes this site's events; the static-builder reads it beside analytics. Publishable means it belongs in a page's source: it names a write scope and mints no principal, so it is returned in full rather than masked. Masking it would only mean every caller needed a second endpoint to get the thing the page already ships. | [optional] |
| LastPurgeAt | Pointer to int64 | LastPurgeAt is when the edge cache was last cleared, as Unix seconds, so a console can say how fresh what readers see actually is. Absent means never. | [optional] |
| License | Pointer to string | License is the terms that upstream work carries. Absent has the same reading: undeclared, not unencumbered. | [optional] |
| LiveUrl | Pointer to string | LiveURL is where the site answers today. Absent until something has been deployed. | [optional] |
| Name | Pointer to string | Name is the project's display name, free text a person chose. | [optional] |
| Namespace | Pointer to string | Namespace is where the site's files are kept: `<namespace>/<slug>/` in the sites bucket. It is the GitHub org the project's repository lives in when this org holds that GitHub account, and the org otherwise, decided when the repository is linked. | [optional] |
| Org | Pointer to string | Org is the organisation that owns the project, and therefore who pays for it and who may change it. It is also the AUTHORSHIP line a gallery credits; there is no separate author field. | [optional] |
| Repo | Pointer to ProjectProjectsRepo | Repo is the git source this project builds from, empty when it is deployed by uploading an artifact instead. | [optional] |
| Slug | Pointer to string | Slug is the identifier that MATTERS: the handle every later call addresses, the S3 key segment the site's objects live under, and the label of the public host `<slug>.hanzo.app`. Because it is a hostname it is constrained and reserved labels such as `api` are refused. | [optional] |
| Space | Pointer to string | Space is the project's Base data space, which is where a deployed site's form, forum and data submissions land. Absent means the site stores nothing. | [optional] |
| Starred | Pointer to bool | Starred is THIS CALLER's star, not a property of the project — two people in the same org see different values for the same row, which is the whole point of it. Always present so a client can tell "not starred" from "this API is too old to say", the same reason visibility and hidden are. | [optional] |
| Status | Pointer to string | Status is where the project stands — whether a build has ever succeeded and whether anything is serving right now. | [optional] |
| Tags | Pointer to map[string]string | Tags is the site's browser tag config: platform slug → non-secret pixel id (GA measurement, Meta pixel, …) — what track.js injects and the server CAPI reads, per site. Omitted when none are set. The API SECRET is never here (KMS). | [optional] |
| UpdatedAt | Pointer to int64 | UpdatedAt is when the project's own record last changed, as Unix seconds. A deploy is not an edit of the project, so this does not move on every publish. | [optional] |
| Upstream | Pointer to string | Upstream credits the third-party work this project was published from — a free-text line, because the honest answer is a name and a title that no enum could hold. Absent means NOBODY HAS SAID, not that there is nothing to say. | [optional] |
| Visibility | Pointer to string | Visibility is "public" or "private", and Hidden reports platform moderation. Both are always present (never omitempty) so a consumer can tell a real answer from "this API is too old to say" — and so a console never renders a project as public because a field was missing. Authorship is deliberately absent: it is Org, above. | [optional] |
Methods
NewProjectProjectsProject
func NewProjectProjectsProject() *ProjectProjectsProject
NewProjectProjectsProject instantiates a new ProjectProjectsProject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewProjectProjectsProjectWithDefaults
func NewProjectProjectsProjectWithDefaults() *ProjectProjectsProject
NewProjectProjectsProjectWithDefaults instantiates a new ProjectProjectsProject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetAnalytics
func (o *ProjectProjectsProject) GetAnalytics() bool
GetAnalytics returns the Analytics field if non-nil, zero value otherwise.
GetAnalyticsOk
func (o *ProjectProjectsProject) GetAnalyticsOk() (*bool, bool)
GetAnalyticsOk returns a tuple with the Analytics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAnalytics
func (o *ProjectProjectsProject) SetAnalytics(v bool)
SetAnalytics sets Analytics field to given value.
HasAnalytics
func (o *ProjectProjectsProject) HasAnalytics() bool
HasAnalytics returns a boolean if a field has been set.
GetBucket
func (o *ProjectProjectsProject) GetBucket() string
GetBucket returns the Bucket field if non-nil, zero value otherwise.
GetBucketOk
func (o *ProjectProjectsProject) GetBucketOk() (*string, bool)
GetBucketOk returns a tuple with the Bucket field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBucket
func (o *ProjectProjectsProject) SetBucket(v string)
SetBucket sets Bucket field to given value.
HasBucket
func (o *ProjectProjectsProject) HasBucket() bool
HasBucket returns a boolean if a field has been set.
GetCacheControl
func (o *ProjectProjectsProject) GetCacheControl() string
GetCacheControl returns the CacheControl field if non-nil, zero value otherwise.
GetCacheControlOk
func (o *ProjectProjectsProject) GetCacheControlOk() (*string, bool)
GetCacheControlOk returns a tuple with the CacheControl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCacheControl
func (o *ProjectProjectsProject) SetCacheControl(v string)
SetCacheControl sets CacheControl field to given value.
HasCacheControl
func (o *ProjectProjectsProject) HasCacheControl() bool
HasCacheControl returns a boolean if a field has been set.
GetCreatedAt
func (o *ProjectProjectsProject) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *ProjectProjectsProject) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedAt
func (o *ProjectProjectsProject) SetCreatedAt(v int64)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *ProjectProjectsProject) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetCurrentDeploymentId
func (o *ProjectProjectsProject) GetCurrentDeploymentId() string
GetCurrentDeploymentId returns the CurrentDeploymentId field if non-nil, zero value otherwise.
GetCurrentDeploymentIdOk
func (o *ProjectProjectsProject) GetCurrentDeploymentIdOk() (*string, bool)
GetCurrentDeploymentIdOk returns a tuple with the CurrentDeploymentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCurrentDeploymentId
func (o *ProjectProjectsProject) SetCurrentDeploymentId(v string)
SetCurrentDeploymentId sets CurrentDeploymentId field to given value.
HasCurrentDeploymentId
func (o *ProjectProjectsProject) HasCurrentDeploymentId() bool
HasCurrentDeploymentId returns a boolean if a field has been set.
GetDescription
func (o *ProjectProjectsProject) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
GetDescriptionOk
func (o *ProjectProjectsProject) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDescription
func (o *ProjectProjectsProject) SetDescription(v string)
SetDescription sets Description field to given value.
HasDescription
func (o *ProjectProjectsProject) HasDescription() bool
HasDescription returns a boolean if a field has been set.
GetDropLocal
func (o *ProjectProjectsProject) GetDropLocal() bool
GetDropLocal returns the DropLocal field if non-nil, zero value otherwise.
GetDropLocalOk
func (o *ProjectProjectsProject) GetDropLocalOk() (*bool, bool)
GetDropLocalOk returns a tuple with the DropLocal field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDropLocal
func (o *ProjectProjectsProject) SetDropLocal(v bool)
SetDropLocal sets DropLocal field to given value.
HasDropLocal
func (o *ProjectProjectsProject) HasDropLocal() bool
HasDropLocal returns a boolean if a field has been set.
GetForkedFrom
func (o *ProjectProjectsProject) GetForkedFrom() string
GetForkedFrom returns the ForkedFrom field if non-nil, zero value otherwise.
GetForkedFromOk
func (o *ProjectProjectsProject) GetForkedFromOk() (*string, bool)
GetForkedFromOk returns a tuple with the ForkedFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetForkedFrom
func (o *ProjectProjectsProject) SetForkedFrom(v string)
SetForkedFrom sets ForkedFrom field to given value.
HasForkedFrom
func (o *ProjectProjectsProject) HasForkedFrom() bool
HasForkedFrom returns a boolean if a field has been set.
GetFramework
func (o *ProjectProjectsProject) GetFramework() string
GetFramework returns the Framework field if non-nil, zero value otherwise.
GetFrameworkOk
func (o *ProjectProjectsProject) GetFrameworkOk() (*string, bool)
GetFrameworkOk returns a tuple with the Framework field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFramework
func (o *ProjectProjectsProject) SetFramework(v string)
SetFramework sets Framework field to given value.
HasFramework
func (o *ProjectProjectsProject) HasFramework() bool
HasFramework returns a boolean if a field has been set.
GetHidden
func (o *ProjectProjectsProject) GetHidden() bool
GetHidden returns the Hidden field if non-nil, zero value otherwise.
GetHiddenOk
func (o *ProjectProjectsProject) GetHiddenOk() (*bool, bool)
GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetHidden
func (o *ProjectProjectsProject) SetHidden(v bool)
SetHidden sets Hidden field to given value.
HasHidden
func (o *ProjectProjectsProject) HasHidden() bool
HasHidden returns a boolean if a field has been set.
GetHiddenReason
func (o *ProjectProjectsProject) GetHiddenReason() string
GetHiddenReason returns the HiddenReason field if non-nil, zero value otherwise.
GetHiddenReasonOk
func (o *ProjectProjectsProject) GetHiddenReasonOk() (*string, bool)
GetHiddenReasonOk returns a tuple with the HiddenReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetHiddenReason
func (o *ProjectProjectsProject) SetHiddenReason(v string)
SetHiddenReason sets HiddenReason field to given value.
HasHiddenReason
func (o *ProjectProjectsProject) HasHiddenReason() bool
HasHiddenReason returns a boolean if a field has been set.
GetId
func (o *ProjectProjectsProject) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *ProjectProjectsProject) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *ProjectProjectsProject) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *ProjectProjectsProject) HasId() bool
HasId returns a boolean if a field has been set.
GetInternalNetworks
func (o *ProjectProjectsProject) GetInternalNetworks() []string
GetInternalNetworks returns the InternalNetworks field if non-nil, zero value otherwise.
GetInternalNetworksOk
func (o *ProjectProjectsProject) GetInternalNetworksOk() (*[]string, bool)
GetInternalNetworksOk returns a tuple with the InternalNetworks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetInternalNetworks
func (o *ProjectProjectsProject) SetInternalNetworks(v []string)
SetInternalNetworks sets InternalNetworks field to given value.
HasInternalNetworks
func (o *ProjectProjectsProject) HasInternalNetworks() bool
HasInternalNetworks returns a boolean if a field has been set.
GetKey
func (o *ProjectProjectsProject) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
GetKeyOk
func (o *ProjectProjectsProject) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetKey
func (o *ProjectProjectsProject) SetKey(v string)
SetKey sets Key field to given value.
HasKey
func (o *ProjectProjectsProject) HasKey() bool
HasKey returns a boolean if a field has been set.
GetLastPurgeAt
func (o *ProjectProjectsProject) GetLastPurgeAt() int64
GetLastPurgeAt returns the LastPurgeAt field if non-nil, zero value otherwise.
GetLastPurgeAtOk
func (o *ProjectProjectsProject) GetLastPurgeAtOk() (*int64, bool)
GetLastPurgeAtOk returns a tuple with the LastPurgeAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLastPurgeAt
func (o *ProjectProjectsProject) SetLastPurgeAt(v int64)
SetLastPurgeAt sets LastPurgeAt field to given value.
HasLastPurgeAt
func (o *ProjectProjectsProject) HasLastPurgeAt() bool
HasLastPurgeAt returns a boolean if a field has been set.
GetLicense
func (o *ProjectProjectsProject) GetLicense() string
GetLicense returns the License field if non-nil, zero value otherwise.
GetLicenseOk
func (o *ProjectProjectsProject) GetLicenseOk() (*string, bool)
GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLicense
func (o *ProjectProjectsProject) SetLicense(v string)
SetLicense sets License field to given value.
HasLicense
func (o *ProjectProjectsProject) HasLicense() bool
HasLicense returns a boolean if a field has been set.
GetLiveUrl
func (o *ProjectProjectsProject) GetLiveUrl() string
GetLiveUrl returns the LiveUrl field if non-nil, zero value otherwise.
GetLiveUrlOk
func (o *ProjectProjectsProject) GetLiveUrlOk() (*string, bool)
GetLiveUrlOk returns a tuple with the LiveUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLiveUrl
func (o *ProjectProjectsProject) SetLiveUrl(v string)
SetLiveUrl sets LiveUrl field to given value.
HasLiveUrl
func (o *ProjectProjectsProject) HasLiveUrl() bool
HasLiveUrl returns a boolean if a field has been set.
GetName
func (o *ProjectProjectsProject) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *ProjectProjectsProject) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *ProjectProjectsProject) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *ProjectProjectsProject) HasName() bool
HasName returns a boolean if a field has been set.
GetNamespace
func (o *ProjectProjectsProject) GetNamespace() string
GetNamespace returns the Namespace field if non-nil, zero value otherwise.
GetNamespaceOk
func (o *ProjectProjectsProject) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNamespace
func (o *ProjectProjectsProject) SetNamespace(v string)
SetNamespace sets Namespace field to given value.
HasNamespace
func (o *ProjectProjectsProject) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
GetOrg
func (o *ProjectProjectsProject) GetOrg() string
GetOrg returns the Org field if non-nil, zero value otherwise.
GetOrgOk
func (o *ProjectProjectsProject) GetOrgOk() (*string, bool)
GetOrgOk returns a tuple with the Org field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOrg
func (o *ProjectProjectsProject) SetOrg(v string)
SetOrg sets Org field to given value.
HasOrg
func (o *ProjectProjectsProject) HasOrg() bool
HasOrg returns a boolean if a field has been set.
GetRepo
func (o *ProjectProjectsProject) GetRepo() ProjectProjectsRepo
GetRepo returns the Repo field if non-nil, zero value otherwise.
GetRepoOk
func (o *ProjectProjectsProject) GetRepoOk() (*ProjectProjectsRepo, bool)
GetRepoOk returns a tuple with the Repo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRepo
func (o *ProjectProjectsProject) SetRepo(v ProjectProjectsRepo)
SetRepo sets Repo field to given value.
HasRepo
func (o *ProjectProjectsProject) HasRepo() bool
HasRepo returns a boolean if a field has been set.
GetSlug
func (o *ProjectProjectsProject) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
GetSlugOk
func (o *ProjectProjectsProject) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSlug
func (o *ProjectProjectsProject) SetSlug(v string)
SetSlug sets Slug field to given value.
HasSlug
func (o *ProjectProjectsProject) HasSlug() bool
HasSlug returns a boolean if a field has been set.
GetSpace
func (o *ProjectProjectsProject) GetSpace() string
GetSpace returns the Space field if non-nil, zero value otherwise.
GetSpaceOk
func (o *ProjectProjectsProject) GetSpaceOk() (*string, bool)
GetSpaceOk returns a tuple with the Space field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSpace
func (o *ProjectProjectsProject) SetSpace(v string)
SetSpace sets Space field to given value.
HasSpace
func (o *ProjectProjectsProject) HasSpace() bool
HasSpace returns a boolean if a field has been set.
GetStarred
func (o *ProjectProjectsProject) GetStarred() bool
GetStarred returns the Starred field if non-nil, zero value otherwise.
GetStarredOk
func (o *ProjectProjectsProject) GetStarredOk() (*bool, bool)
GetStarredOk returns a tuple with the Starred field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStarred
func (o *ProjectProjectsProject) SetStarred(v bool)
SetStarred sets Starred field to given value.
HasStarred
func (o *ProjectProjectsProject) HasStarred() bool
HasStarred returns a boolean if a field has been set.
GetStatus
func (o *ProjectProjectsProject) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *ProjectProjectsProject) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatus
func (o *ProjectProjectsProject) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *ProjectProjectsProject) HasStatus() bool
HasStatus returns a boolean if a field has been set.
GetTags
func (o *ProjectProjectsProject) GetTags() map[string]string
GetTags returns the Tags field if non-nil, zero value otherwise.
GetTagsOk
func (o *ProjectProjectsProject) GetTagsOk() (*map[string]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTags
func (o *ProjectProjectsProject) SetTags(v map[string]string)
SetTags sets Tags field to given value.
HasTags
func (o *ProjectProjectsProject) HasTags() bool
HasTags returns a boolean if a field has been set.
GetUpdatedAt
func (o *ProjectProjectsProject) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
GetUpdatedAtOk
func (o *ProjectProjectsProject) GetUpdatedAtOk() (*int64, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpdatedAt
func (o *ProjectProjectsProject) SetUpdatedAt(v int64)
SetUpdatedAt sets UpdatedAt field to given value.
HasUpdatedAt
func (o *ProjectProjectsProject) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
GetUpstream
func (o *ProjectProjectsProject) GetUpstream() string
GetUpstream returns the Upstream field if non-nil, zero value otherwise.
GetUpstreamOk
func (o *ProjectProjectsProject) GetUpstreamOk() (*string, bool)
GetUpstreamOk returns a tuple with the Upstream field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpstream
func (o *ProjectProjectsProject) SetUpstream(v string)
SetUpstream sets Upstream field to given value.
HasUpstream
func (o *ProjectProjectsProject) HasUpstream() bool
HasUpstream returns a boolean if a field has been set.
GetVisibility
func (o *ProjectProjectsProject) GetVisibility() string
GetVisibility returns the Visibility field if non-nil, zero value otherwise.
GetVisibilityOk
func (o *ProjectProjectsProject) GetVisibilityOk() (*string, bool)
GetVisibilityOk returns a tuple with the Visibility field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVisibility
func (o *ProjectProjectsProject) SetVisibility(v string)
SetVisibility sets Visibility field to given value.
HasVisibility
func (o *ProjectProjectsProject) HasVisibility() bool
HasVisibility returns a boolean if a field has been set.