Name | Type | Description | Notes |
---|---|---|---|
Id | string | uuid of the associated service (application, database, job, gateway...) | |
CreatedAt | time.Time | [readonly] | |
UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
Type | Pointer to ServiceTypeEnum | [optional] | |
Name | Pointer to string | name of the service | [optional] |
DeployedCommitId | Pointer to string | Git commit ID corresponding to the deployed version of the application | [optional] |
LastUpdatedBy | Pointer to string | uuid of the user that made the last update | [optional] |
ConsumedResourcesInPercent | Pointer to float32 | global overview of resources consumption of the service | [optional] |
ServiceTypology | Pointer to string | describes the typology of service (container, postgresl, redis...) | [optional] |
ServiceVersion | Pointer to string | for databases this field exposes the database version | [optional] |
ToUpdate | Pointer to bool | [optional] |
func NewService(id string, createdAt time.Time, ) *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) 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) 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) GetType() ServiceTypeEnum
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Service) GetTypeOk() (*ServiceTypeEnum, 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 ServiceTypeEnum)
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) 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) GetDeployedCommitId() string
GetDeployedCommitId returns the DeployedCommitId field if non-nil, zero value otherwise.
func (o *Service) GetDeployedCommitIdOk() (*string, bool)
GetDeployedCommitIdOk returns a tuple with the DeployedCommitId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetDeployedCommitId(v string)
SetDeployedCommitId sets DeployedCommitId field to given value.
func (o *Service) HasDeployedCommitId() bool
HasDeployedCommitId returns a boolean if a field has been set.
func (o *Service) GetLastUpdatedBy() string
GetLastUpdatedBy returns the LastUpdatedBy field if non-nil, zero value otherwise.
func (o *Service) GetLastUpdatedByOk() (*string, bool)
GetLastUpdatedByOk returns a tuple with the LastUpdatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetLastUpdatedBy(v string)
SetLastUpdatedBy sets LastUpdatedBy field to given value.
func (o *Service) HasLastUpdatedBy() bool
HasLastUpdatedBy returns a boolean if a field has been set.
func (o *Service) GetConsumedResourcesInPercent() float32
GetConsumedResourcesInPercent returns the ConsumedResourcesInPercent field if non-nil, zero value otherwise.
func (o *Service) GetConsumedResourcesInPercentOk() (*float32, bool)
GetConsumedResourcesInPercentOk returns a tuple with the ConsumedResourcesInPercent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetConsumedResourcesInPercent(v float32)
SetConsumedResourcesInPercent sets ConsumedResourcesInPercent field to given value.
func (o *Service) HasConsumedResourcesInPercent() bool
HasConsumedResourcesInPercent returns a boolean if a field has been set.
func (o *Service) GetServiceTypology() string
GetServiceTypology returns the ServiceTypology field if non-nil, zero value otherwise.
func (o *Service) GetServiceTypologyOk() (*string, bool)
GetServiceTypologyOk returns a tuple with the ServiceTypology field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetServiceTypology(v string)
SetServiceTypology sets ServiceTypology field to given value.
func (o *Service) HasServiceTypology() bool
HasServiceTypology returns a boolean if a field has been set.
func (o *Service) GetServiceVersion() string
GetServiceVersion returns the ServiceVersion field if non-nil, zero value otherwise.
func (o *Service) GetServiceVersionOk() (*string, bool)
GetServiceVersionOk returns a tuple with the ServiceVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetServiceVersion(v string)
SetServiceVersion sets ServiceVersion field to given value.
func (o *Service) HasServiceVersion() bool
HasServiceVersion returns a boolean if a field has been set.
func (o *Service) GetToUpdate() bool
GetToUpdate returns the ToUpdate field if non-nil, zero value otherwise.
func (o *Service) GetToUpdateOk() (*bool, bool)
GetToUpdateOk returns a tuple with the ToUpdate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetToUpdate(v bool)
SetToUpdate sets ToUpdate field to given value.
func (o *Service) HasToUpdate() bool
HasToUpdate returns a boolean if a field has been set.