Skip to content

Latest commit

 

History

History
187 lines (100 loc) · 5 KB

ReleasePhase.md

File metadata and controls

187 lines (100 loc) · 5 KB

ReleasePhase

Properties

Name Type Description Notes
Id string The phase ID
Name string The release phase name
Complete bool Whether this phase is complete
CreationDate int64
CompletionDate Pointer to int64 [optional]
CompletedBy Pointer to CompletedBy [optional]
Audiences []Audience A logical grouping of one or more environments that share attributes for rolling out changes

Methods

NewReleasePhase

func NewReleasePhase(id string, name string, complete bool, creationDate int64, audiences []Audience, ) *ReleasePhase

NewReleasePhase instantiates a new ReleasePhase 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

NewReleasePhaseWithDefaults

func NewReleasePhaseWithDefaults() *ReleasePhase

NewReleasePhaseWithDefaults instantiates a new ReleasePhase 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

GetId

func (o *ReleasePhase) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

GetName

func (o *ReleasePhase) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetComplete

func (o *ReleasePhase) GetComplete() bool

GetComplete returns the Complete field if non-nil, zero value otherwise.

GetCompleteOk

func (o *ReleasePhase) GetCompleteOk() (*bool, bool)

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

SetComplete

func (o *ReleasePhase) SetComplete(v bool)

SetComplete sets Complete field to given value.

GetCreationDate

func (o *ReleasePhase) GetCreationDate() int64

GetCreationDate returns the CreationDate field if non-nil, zero value otherwise.

GetCreationDateOk

func (o *ReleasePhase) GetCreationDateOk() (*int64, bool)

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

SetCreationDate

func (o *ReleasePhase) SetCreationDate(v int64)

SetCreationDate sets CreationDate field to given value.

GetCompletionDate

func (o *ReleasePhase) GetCompletionDate() int64

GetCompletionDate returns the CompletionDate field if non-nil, zero value otherwise.

GetCompletionDateOk

func (o *ReleasePhase) GetCompletionDateOk() (*int64, bool)

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

SetCompletionDate

func (o *ReleasePhase) SetCompletionDate(v int64)

SetCompletionDate sets CompletionDate field to given value.

HasCompletionDate

func (o *ReleasePhase) HasCompletionDate() bool

HasCompletionDate returns a boolean if a field has been set.

GetCompletedBy

func (o *ReleasePhase) GetCompletedBy() CompletedBy

GetCompletedBy returns the CompletedBy field if non-nil, zero value otherwise.

GetCompletedByOk

func (o *ReleasePhase) GetCompletedByOk() (*CompletedBy, bool)

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

SetCompletedBy

func (o *ReleasePhase) SetCompletedBy(v CompletedBy)

SetCompletedBy sets CompletedBy field to given value.

HasCompletedBy

func (o *ReleasePhase) HasCompletedBy() bool

HasCompletedBy returns a boolean if a field has been set.

GetAudiences

func (o *ReleasePhase) GetAudiences() []Audience

GetAudiences returns the Audiences field if non-nil, zero value otherwise.

GetAudiencesOk

func (o *ReleasePhase) GetAudiencesOk() (*[]Audience, bool)

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

SetAudiences

func (o *ReleasePhase) SetAudiences(v []Audience)

SetAudiences sets Audiences field to given value.

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