Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] | |
CreatedAt | Pointer to time.Time | [optional] | |
UpdatedAt | Pointer to time.Time | [optional] | |
StartedAt | Pointer to time.Time | [optional] | |
SucceededAt | Pointer to time.Time | [optional] | |
PausedAt | Pointer to time.Time | [optional] | |
ResumedAt | Pointer to time.Time | [optional] | |
TerminatedAt | Pointer to time.Time | [optional] | |
Name | Pointer to string | [optional] | |
Type | Pointer to ServiceType | [optional] [default to SERVICETYPE_INVALID_TYPE] | |
OrganizationId | Pointer to string | [optional] | |
AppId | Pointer to string | [optional] | |
Status | Pointer to ServiceStatus | [optional] [default to SERVICESTATUS_STARTING] | |
Messages | Pointer to []string | [optional] | |
Version | Pointer to string | [optional] | |
ActiveDeploymentId | Pointer to string | [optional] | |
LatestDeploymentId | Pointer to string | [optional] | |
LastProvisionedDeploymentId | Pointer to string | [optional] | |
State | Pointer to ServiceState | [optional] |
func NewService() *Service
NewService instantiates a new Service 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
func NewServiceWithDefaults() *Service
NewServiceWithDefaults instantiates a new Service 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
func (o *Service) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Service) 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.
func (o *Service) SetId(v string)
SetId sets Id field to given value.
func (o *Service) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Service) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Service) 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.
func (o *Service) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Service) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *Service) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Service) 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.
func (o *Service) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Service) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *Service) GetStartedAt() time.Time
GetStartedAt returns the StartedAt field if non-nil, zero value otherwise.
func (o *Service) GetStartedAtOk() (*time.Time, bool)
GetStartedAtOk returns a tuple with the StartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetStartedAt(v time.Time)
SetStartedAt sets StartedAt field to given value.
func (o *Service) HasStartedAt() bool
HasStartedAt returns a boolean if a field has been set.
func (o *Service) GetSucceededAt() time.Time
GetSucceededAt returns the SucceededAt field if non-nil, zero value otherwise.
func (o *Service) GetSucceededAtOk() (*time.Time, bool)
GetSucceededAtOk returns a tuple with the SucceededAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetSucceededAt(v time.Time)
SetSucceededAt sets SucceededAt field to given value.
func (o *Service) HasSucceededAt() bool
HasSucceededAt returns a boolean if a field has been set.
func (o *Service) GetPausedAt() time.Time
GetPausedAt returns the PausedAt field if non-nil, zero value otherwise.
func (o *Service) GetPausedAtOk() (*time.Time, bool)
GetPausedAtOk returns a tuple with the PausedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetPausedAt(v time.Time)
SetPausedAt sets PausedAt field to given value.
func (o *Service) HasPausedAt() bool
HasPausedAt returns a boolean if a field has been set.
func (o *Service) GetResumedAt() time.Time
GetResumedAt returns the ResumedAt field if non-nil, zero value otherwise.
func (o *Service) GetResumedAtOk() (*time.Time, bool)
GetResumedAtOk returns a tuple with the ResumedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetResumedAt(v time.Time)
SetResumedAt sets ResumedAt field to given value.
func (o *Service) HasResumedAt() bool
HasResumedAt returns a boolean if a field has been set.
func (o *Service) GetTerminatedAt() time.Time
GetTerminatedAt returns the TerminatedAt field if non-nil, zero value otherwise.
func (o *Service) GetTerminatedAtOk() (*time.Time, bool)
GetTerminatedAtOk returns a tuple with the TerminatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetTerminatedAt(v time.Time)
SetTerminatedAt sets TerminatedAt field to given value.
func (o *Service) HasTerminatedAt() bool
HasTerminatedAt returns a boolean if a field has been set.
func (o *Service) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Service) 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.
func (o *Service) SetName(v string)
SetName sets Name field to given value.
func (o *Service) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Service) GetType() ServiceType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Service) GetTypeOk() (*ServiceType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetType(v ServiceType)
SetType sets Type field to given value.
func (o *Service) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Service) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.
func (o *Service) GetOrganizationIdOk() (*string, bool)
GetOrganizationIdOk returns a tuple with the OrganizationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetOrganizationId(v string)
SetOrganizationId sets OrganizationId field to given value.
func (o *Service) HasOrganizationId() bool
HasOrganizationId returns a boolean if a field has been set.
func (o *Service) GetAppId() string
GetAppId returns the AppId field if non-nil, zero value otherwise.
func (o *Service) GetAppIdOk() (*string, bool)
GetAppIdOk returns a tuple with the AppId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetAppId(v string)
SetAppId sets AppId field to given value.
func (o *Service) HasAppId() bool
HasAppId returns a boolean if a field has been set.
func (o *Service) GetStatus() ServiceStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Service) GetStatusOk() (*ServiceStatus, 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.
func (o *Service) SetStatus(v ServiceStatus)
SetStatus sets Status field to given value.
func (o *Service) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *Service) GetMessages() []string
GetMessages returns the Messages field if non-nil, zero value otherwise.
func (o *Service) GetMessagesOk() (*[]string, bool)
GetMessagesOk returns a tuple with the Messages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetMessages(v []string)
SetMessages sets Messages field to given value.
func (o *Service) HasMessages() bool
HasMessages returns a boolean if a field has been set.
func (o *Service) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *Service) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *Service) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *Service) GetActiveDeploymentId() string
GetActiveDeploymentId returns the ActiveDeploymentId field if non-nil, zero value otherwise.
func (o *Service) GetActiveDeploymentIdOk() (*string, bool)
GetActiveDeploymentIdOk returns a tuple with the ActiveDeploymentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetActiveDeploymentId(v string)
SetActiveDeploymentId sets ActiveDeploymentId field to given value.
func (o *Service) HasActiveDeploymentId() bool
HasActiveDeploymentId returns a boolean if a field has been set.
func (o *Service) GetLatestDeploymentId() string
GetLatestDeploymentId returns the LatestDeploymentId field if non-nil, zero value otherwise.
func (o *Service) GetLatestDeploymentIdOk() (*string, bool)
GetLatestDeploymentIdOk returns a tuple with the LatestDeploymentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetLatestDeploymentId(v string)
SetLatestDeploymentId sets LatestDeploymentId field to given value.
func (o *Service) HasLatestDeploymentId() bool
HasLatestDeploymentId returns a boolean if a field has been set.
func (o *Service) GetLastProvisionedDeploymentId() string
GetLastProvisionedDeploymentId returns the LastProvisionedDeploymentId field if non-nil, zero value otherwise.
func (o *Service) GetLastProvisionedDeploymentIdOk() (*string, bool)
GetLastProvisionedDeploymentIdOk returns a tuple with the LastProvisionedDeploymentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetLastProvisionedDeploymentId(v string)
SetLastProvisionedDeploymentId sets LastProvisionedDeploymentId field to given value.
func (o *Service) HasLastProvisionedDeploymentId() bool
HasLastProvisionedDeploymentId returns a boolean if a field has been set.
func (o *Service) GetState() ServiceState
GetState returns the State field if non-nil, zero value otherwise.
func (o *Service) GetStateOk() (*ServiceState, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetState(v ServiceState)
SetState sets State field to given value.
func (o *Service) HasState() bool
HasState returns a boolean if a field has been set.