Skip to content

Latest commit

 

History

History
380 lines (209 loc) · 10.3 KB

VersionResponse.md

File metadata and controls

380 lines (209 loc) · 10.3 KB

VersionResponse

Properties

Name Type Description Notes
Active Pointer to bool Whether this is the active version or not. [optional] [default to false]
Comment Pointer to NullableString A freeform descriptive note. [optional]
Deployed Pointer to bool Unused at this time. [optional]
Locked Pointer to bool Whether this version is locked or not. Objects can not be added or edited on locked versions. [optional] [default to false]
Number Pointer to int32 The number of this version. [optional] [readonly]
Staging Pointer to bool Unused at this time. [optional] [default to false]
Testing Pointer to bool Unused at this time. [optional] [default to false]
CreatedAt Pointer to NullableTime Date and time in ISO 8601 format. [optional] [readonly]
DeletedAt Pointer to NullableTime Date and time in ISO 8601 format. [optional] [readonly]
UpdatedAt Pointer to NullableTime Date and time in ISO 8601 format. [optional] [readonly]
ServiceID Pointer to string [optional] [readonly]
Environments Pointer to []Environment A list of environments where the service has been deployed. [optional]

Methods

NewVersionResponse

func NewVersionResponse() *VersionResponse

NewVersionResponse instantiates a new VersionResponse 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

NewVersionResponseWithDefaults

func NewVersionResponseWithDefaults() *VersionResponse

NewVersionResponseWithDefaults instantiates a new VersionResponse 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

GetActive

func (o *VersionResponse) GetActive() bool

GetActive returns the Active field if non-nil, zero value otherwise.

GetActiveOk

func (o *VersionResponse) GetActiveOk() (*bool, bool)

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

SetActive

func (o *VersionResponse) SetActive(v bool)

SetActive sets Active field to given value.

HasActive

func (o *VersionResponse) HasActive() bool

HasActive returns a boolean if a field has been set.

GetComment

func (o *VersionResponse) GetComment() string

GetComment returns the Comment field if non-nil, zero value otherwise.

GetCommentOk

func (o *VersionResponse) GetCommentOk() (*string, bool)

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

SetComment

func (o *VersionResponse) SetComment(v string)

SetComment sets Comment field to given value.

HasComment

func (o *VersionResponse) HasComment() bool

HasComment returns a boolean if a field has been set.

SetCommentNil

func (o *VersionResponse) SetCommentNil(b bool)

SetCommentNil sets the value for Comment to be an explicit nil

UnsetComment

func (o *VersionResponse) UnsetComment()

UnsetComment ensures that no value is present for Comment, not even an explicit nil

GetDeployed

func (o *VersionResponse) GetDeployed() bool

GetDeployed returns the Deployed field if non-nil, zero value otherwise.

GetDeployedOk

func (o *VersionResponse) GetDeployedOk() (*bool, bool)

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

SetDeployed

func (o *VersionResponse) SetDeployed(v bool)

SetDeployed sets Deployed field to given value.

HasDeployed

func (o *VersionResponse) HasDeployed() bool

HasDeployed returns a boolean if a field has been set.

GetLocked

func (o *VersionResponse) GetLocked() bool

GetLocked returns the Locked field if non-nil, zero value otherwise.

GetLockedOk

func (o *VersionResponse) GetLockedOk() (*bool, bool)

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

SetLocked

func (o *VersionResponse) SetLocked(v bool)

SetLocked sets Locked field to given value.

HasLocked

func (o *VersionResponse) HasLocked() bool

HasLocked returns a boolean if a field has been set.

GetNumber

func (o *VersionResponse) GetNumber() int32

GetNumber returns the Number field if non-nil, zero value otherwise.

GetNumberOk

func (o *VersionResponse) GetNumberOk() (*int32, bool)

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

SetNumber

func (o *VersionResponse) SetNumber(v int32)

SetNumber sets Number field to given value.

HasNumber

func (o *VersionResponse) HasNumber() bool

HasNumber returns a boolean if a field has been set.

GetStaging

func (o *VersionResponse) GetStaging() bool

GetStaging returns the Staging field if non-nil, zero value otherwise.

GetStagingOk

func (o *VersionResponse) GetStagingOk() (*bool, bool)

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

SetStaging

func (o *VersionResponse) SetStaging(v bool)

SetStaging sets Staging field to given value.

HasStaging

func (o *VersionResponse) HasStaging() bool

HasStaging returns a boolean if a field has been set.

GetTesting

func (o *VersionResponse) GetTesting() bool

GetTesting returns the Testing field if non-nil, zero value otherwise.

GetTestingOk

func (o *VersionResponse) GetTestingOk() (*bool, bool)

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

SetTesting

func (o *VersionResponse) SetTesting(v bool)

SetTesting sets Testing field to given value.

HasTesting

func (o *VersionResponse) HasTesting() bool

HasTesting returns a boolean if a field has been set.

GetCreatedAt

func (o *VersionResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *VersionResponse) GetCreatedAtOk() (*time.Time, 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 *VersionResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *VersionResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

SetCreatedAtNil

func (o *VersionResponse) SetCreatedAtNil(b bool)

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

UnsetCreatedAt

func (o *VersionResponse) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

GetDeletedAt

func (o *VersionResponse) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.

GetDeletedAtOk

func (o *VersionResponse) GetDeletedAtOk() (*time.Time, bool)

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

SetDeletedAt

func (o *VersionResponse) SetDeletedAt(v time.Time)

SetDeletedAt sets DeletedAt field to given value.

HasDeletedAt

func (o *VersionResponse) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

SetDeletedAtNil

func (o *VersionResponse) SetDeletedAtNil(b bool)

SetDeletedAtNil sets the value for DeletedAt to be an explicit nil

UnsetDeletedAt

func (o *VersionResponse) UnsetDeletedAt()

UnsetDeletedAt ensures that no value is present for DeletedAt, not even an explicit nil

GetUpdatedAt

func (o *VersionResponse) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *VersionResponse) GetUpdatedAtOk() (*time.Time, 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 *VersionResponse) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *VersionResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

SetUpdatedAtNil

func (o *VersionResponse) SetUpdatedAtNil(b bool)

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

UnsetUpdatedAt

func (o *VersionResponse) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil

GetServiceID

func (o *VersionResponse) GetServiceID() string

GetServiceID returns the ServiceID field if non-nil, zero value otherwise.

GetServiceIDOk

func (o *VersionResponse) GetServiceIDOk() (*string, bool)

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

SetServiceID

func (o *VersionResponse) SetServiceID(v string)

SetServiceID sets ServiceID field to given value.

HasServiceID

func (o *VersionResponse) HasServiceID() bool

HasServiceID returns a boolean if a field has been set.

GetEnvironments

func (o *VersionResponse) GetEnvironments() []Environment

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

GetEnvironmentsOk

func (o *VersionResponse) GetEnvironmentsOk() (*[]Environment, 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 *VersionResponse) SetEnvironments(v []Environment)

SetEnvironments sets Environments field to given value.

HasEnvironments

func (o *VersionResponse) HasEnvironments() bool

HasEnvironments returns a boolean if a field has been set.

Back to API list | Back to README