Name | Type | Description | Notes |
---|---|---|---|
Tags | Pointer to []string | [optional] | |
Type | ServiceType | ||
UseCase | UseCaseType | ||
Name | string | Name of the service instance | |
Description | Pointer to string | Description of the service instance | [optional] |
Bandwidth | int32 | Service bandwidth in Mbps | |
MinBandwidthCommit | Pointer to int32 | Service min bandwidth commit in Mbps | [optional] |
Uuid | string | ||
Account | Pointer to CustomerBillingAccount | [optional] | |
Billing | BillingType | [default to BILLINGTYPE_FIXED] | |
ChangeLog | Pointer to ServiceChangeLog | [optional] | |
Draft | bool | [default to false] | |
Links | Pointer to []Link | [optional] | |
Order | Pointer to ServiceOrderReference | [optional] | |
Project | Pointer to ProjectReference | [optional] | |
State | ServiceState |
func NewService(type_ ServiceType, useCase UseCaseType, name string, bandwidth int32, uuid string, billing BillingType, draft bool, state ServiceState, ) *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) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *Service) 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.
func (o *Service) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *Service) HasTags() bool
HasTags 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) GetUseCase() UseCaseType
GetUseCase returns the UseCase field if non-nil, zero value otherwise.
func (o *Service) GetUseCaseOk() (*UseCaseType, bool)
GetUseCaseOk returns a tuple with the UseCase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetUseCase(v UseCaseType)
SetUseCase sets UseCase field to given value.
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) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Service) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Service) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Service) GetBandwidth() int32
GetBandwidth returns the Bandwidth field if non-nil, zero value otherwise.
func (o *Service) GetBandwidthOk() (*int32, bool)
GetBandwidthOk returns a tuple with the Bandwidth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetBandwidth(v int32)
SetBandwidth sets Bandwidth field to given value.
func (o *Service) GetMinBandwidthCommit() int32
GetMinBandwidthCommit returns the MinBandwidthCommit field if non-nil, zero value otherwise.
func (o *Service) GetMinBandwidthCommitOk() (*int32, bool)
GetMinBandwidthCommitOk returns a tuple with the MinBandwidthCommit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetMinBandwidthCommit(v int32)
SetMinBandwidthCommit sets MinBandwidthCommit field to given value.
func (o *Service) HasMinBandwidthCommit() bool
HasMinBandwidthCommit returns a boolean if a field has been set.
func (o *Service) GetUuid() string
GetUuid returns the Uuid field if non-nil, zero value otherwise.
func (o *Service) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetUuid(v string)
SetUuid sets Uuid field to given value.
func (o *Service) GetAccount() CustomerBillingAccount
GetAccount returns the Account field if non-nil, zero value otherwise.
func (o *Service) GetAccountOk() (*CustomerBillingAccount, bool)
GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetAccount(v CustomerBillingAccount)
SetAccount sets Account field to given value.
func (o *Service) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (o *Service) GetBilling() BillingType
GetBilling returns the Billing field if non-nil, zero value otherwise.
func (o *Service) GetBillingOk() (*BillingType, bool)
GetBillingOk returns a tuple with the Billing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetBilling(v BillingType)
SetBilling sets Billing field to given value.
func (o *Service) GetChangeLog() ServiceChangeLog
GetChangeLog returns the ChangeLog field if non-nil, zero value otherwise.
func (o *Service) GetChangeLogOk() (*ServiceChangeLog, bool)
GetChangeLogOk returns a tuple with the ChangeLog field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetChangeLog(v ServiceChangeLog)
SetChangeLog sets ChangeLog field to given value.
func (o *Service) HasChangeLog() bool
HasChangeLog returns a boolean if a field has been set.
func (o *Service) GetDraft() bool
GetDraft returns the Draft field if non-nil, zero value otherwise.
func (o *Service) GetDraftOk() (*bool, bool)
GetDraftOk returns a tuple with the Draft field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetDraft(v bool)
SetDraft sets Draft field to given value.
func (o *Service) GetLinks() []Link
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *Service) GetLinksOk() (*[]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.
func (o *Service) SetLinks(v []Link)
SetLinks sets Links field to given value.
func (o *Service) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (o *Service) GetOrder() ServiceOrderReference
GetOrder returns the Order field if non-nil, zero value otherwise.
func (o *Service) GetOrderOk() (*ServiceOrderReference, bool)
GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetOrder(v ServiceOrderReference)
SetOrder sets Order field to given value.
func (o *Service) HasOrder() bool
HasOrder returns a boolean if a field has been set.
func (o *Service) GetProject() ProjectReference
GetProject returns the Project field if non-nil, zero value otherwise.
func (o *Service) GetProjectOk() (*ProjectReference, bool)
GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Service) SetProject(v ProjectReference)
SetProject sets Project field to given value.
func (o *Service) HasProject() bool
HasProject 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.