Skip to content

Latest commit

 

History

History
260 lines (139 loc) · 7.35 KB

Project.md

File metadata and controls

260 lines (139 loc) · 7.35 KB

Project

Properties

Name Type Description Notes
Links map[string]Link The location and content type of related resources
Id string The ID of this project
Key string The key of this project
IncludeInSnippetByDefault bool Whether or not flags created in this project are made available to the client-side JavaScript SDK by default
DefaultClientSideAvailability Pointer to ClientSideAvailability [optional]
Name string A human-friendly name for the project
Access Pointer to Access [optional]
Tags []string A list of tags for the project
DefaultReleasePipelineKey Pointer to string The key of the default release pipeline for this project [optional]
Environments Pointer to Environments [optional]

Methods

NewProject

func NewProject(links map[string]Link, id string, key string, includeInSnippetByDefault bool, name string, tags []string, ) *Project

NewProject instantiates a new Project 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

NewProjectWithDefaults

func NewProjectWithDefaults() *Project

NewProjectWithDefaults instantiates a new Project 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

GetLinks

func (o *Project) GetLinks() map[string]Link

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *Project) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLinks

func (o *Project) SetLinks(v map[string]Link)

SetLinks sets Links field to given value.

GetId

func (o *Project) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Project) 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 *Project) SetId(v string)

SetId sets Id field to given value.

GetKey

func (o *Project) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *Project) 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 *Project) SetKey(v string)

SetKey sets Key field to given value.

GetIncludeInSnippetByDefault

func (o *Project) GetIncludeInSnippetByDefault() bool

GetIncludeInSnippetByDefault returns the IncludeInSnippetByDefault field if non-nil, zero value otherwise.

GetIncludeInSnippetByDefaultOk

func (o *Project) GetIncludeInSnippetByDefaultOk() (*bool, bool)

GetIncludeInSnippetByDefaultOk returns a tuple with the IncludeInSnippetByDefault field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIncludeInSnippetByDefault

func (o *Project) SetIncludeInSnippetByDefault(v bool)

SetIncludeInSnippetByDefault sets IncludeInSnippetByDefault field to given value.

GetDefaultClientSideAvailability

func (o *Project) GetDefaultClientSideAvailability() ClientSideAvailability

GetDefaultClientSideAvailability returns the DefaultClientSideAvailability field if non-nil, zero value otherwise.

GetDefaultClientSideAvailabilityOk

func (o *Project) GetDefaultClientSideAvailabilityOk() (*ClientSideAvailability, bool)

GetDefaultClientSideAvailabilityOk returns a tuple with the DefaultClientSideAvailability field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDefaultClientSideAvailability

func (o *Project) SetDefaultClientSideAvailability(v ClientSideAvailability)

SetDefaultClientSideAvailability sets DefaultClientSideAvailability field to given value.

HasDefaultClientSideAvailability

func (o *Project) HasDefaultClientSideAvailability() bool

HasDefaultClientSideAvailability returns a boolean if a field has been set.

GetName

func (o *Project) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Project) 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 *Project) SetName(v string)

SetName sets Name field to given value.

GetAccess

func (o *Project) GetAccess() Access

GetAccess returns the Access field if non-nil, zero value otherwise.

GetAccessOk

func (o *Project) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccess

func (o *Project) SetAccess(v Access)

SetAccess sets Access field to given value.

HasAccess

func (o *Project) HasAccess() bool

HasAccess returns a boolean if a field has been set.

GetTags

func (o *Project) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *Project) GetTagsOk() (*[]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 *Project) SetTags(v []string)

SetTags sets Tags field to given value.

GetDefaultReleasePipelineKey

func (o *Project) GetDefaultReleasePipelineKey() string

GetDefaultReleasePipelineKey returns the DefaultReleasePipelineKey field if non-nil, zero value otherwise.

GetDefaultReleasePipelineKeyOk

func (o *Project) GetDefaultReleasePipelineKeyOk() (*string, bool)

GetDefaultReleasePipelineKeyOk returns a tuple with the DefaultReleasePipelineKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDefaultReleasePipelineKey

func (o *Project) SetDefaultReleasePipelineKey(v string)

SetDefaultReleasePipelineKey sets DefaultReleasePipelineKey field to given value.

HasDefaultReleasePipelineKey

func (o *Project) HasDefaultReleasePipelineKey() bool

HasDefaultReleasePipelineKey returns a boolean if a field has been set.

GetEnvironments

func (o *Project) GetEnvironments() Environments

GetEnvironments returns the Environments field if non-nil, zero value otherwise.

GetEnvironmentsOk

func (o *Project) GetEnvironmentsOk() (*Environments, bool)

GetEnvironmentsOk returns a tuple with the Environments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnvironments

func (o *Project) SetEnvironments(v Environments)

SetEnvironments sets Environments field to given value.

HasEnvironments

func (o *Project) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]