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] |
func NewServiceBase(type_ ServiceType, useCase UseCaseType, name string, bandwidth int32, ) *ServiceBase
NewServiceBase instantiates a new ServiceBase 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 NewServiceBaseWithDefaults() *ServiceBase
NewServiceBaseWithDefaults instantiates a new ServiceBase 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 *ServiceBase) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *ServiceBase) 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 *ServiceBase) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *ServiceBase) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *ServiceBase) GetType() ServiceType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ServiceBase) 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 *ServiceBase) SetType(v ServiceType)
SetType sets Type field to given value.
func (o *ServiceBase) GetUseCase() UseCaseType
GetUseCase returns the UseCase field if non-nil, zero value otherwise.
func (o *ServiceBase) 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 *ServiceBase) SetUseCase(v UseCaseType)
SetUseCase sets UseCase field to given value.
func (o *ServiceBase) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ServiceBase) 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 *ServiceBase) SetName(v string)
SetName sets Name field to given value.
func (o *ServiceBase) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ServiceBase) 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 *ServiceBase) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ServiceBase) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ServiceBase) GetBandwidth() int32
GetBandwidth returns the Bandwidth field if non-nil, zero value otherwise.
func (o *ServiceBase) 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 *ServiceBase) SetBandwidth(v int32)
SetBandwidth sets Bandwidth field to given value.
func (o *ServiceBase) GetMinBandwidthCommit() int32
GetMinBandwidthCommit returns the MinBandwidthCommit field if non-nil, zero value otherwise.
func (o *ServiceBase) 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 *ServiceBase) SetMinBandwidthCommit(v int32)
SetMinBandwidthCommit sets MinBandwidthCommit field to given value.
func (o *ServiceBase) HasMinBandwidthCommit() bool
HasMinBandwidthCommit returns a boolean if a field has been set.