Name | Type | Description | Notes |
---|---|---|---|
Id | int32 | ||
MetaType | string | ||
Handle | string | ||
CreatedAt | string | ||
UpdatedAt | string | ||
Status | string | ||
DrainType | string | ||
DrainConfiguration | MetricDrainDrainConfiguration | ||
AggregatorCaCertificate | NullableString | ||
AggregatorCaPrivateKeyBlob | NullableString | ||
AggregatorHost | NullableString | ||
AggregatorPortMapping | [][]int32 | ||
AggregatorInstanceId | NullableString | ||
AggregatorDockerName | NullableString | ||
AggregatorAllocation | []string | ||
Links | Pointer to MetricDrainLinks | [optional] |
func NewMetricDrain(id int32, metaType string, handle string, createdAt string, updatedAt string, status string, drainType string, drainConfiguration MetricDrainDrainConfiguration, aggregatorCaCertificate NullableString, aggregatorCaPrivateKeyBlob NullableString, aggregatorHost NullableString, aggregatorPortMapping [][]int32, aggregatorInstanceId NullableString, aggregatorDockerName NullableString, aggregatorAllocation []string, ) *MetricDrain
NewMetricDrain instantiates a new MetricDrain 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 NewMetricDrainWithDefaults() *MetricDrain
NewMetricDrainWithDefaults instantiates a new MetricDrain 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 *MetricDrain) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *MetricDrain) GetIdOk() (*int32, 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 *MetricDrain) SetId(v int32)
SetId sets Id field to given value.
func (o *MetricDrain) GetMetaType() string
GetMetaType returns the MetaType field if non-nil, zero value otherwise.
func (o *MetricDrain) GetMetaTypeOk() (*string, bool)
GetMetaTypeOk returns a tuple with the MetaType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetMetaType(v string)
SetMetaType sets MetaType field to given value.
func (o *MetricDrain) GetHandle() string
GetHandle returns the Handle field if non-nil, zero value otherwise.
func (o *MetricDrain) GetHandleOk() (*string, bool)
GetHandleOk returns a tuple with the Handle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetHandle(v string)
SetHandle sets Handle field to given value.
func (o *MetricDrain) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *MetricDrain) GetCreatedAtOk() (*string, 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 *MetricDrain) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
func (o *MetricDrain) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *MetricDrain) GetUpdatedAtOk() (*string, 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 *MetricDrain) SetUpdatedAt(v string)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *MetricDrain) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *MetricDrain) GetStatusOk() (*string, 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 *MetricDrain) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *MetricDrain) GetDrainType() string
GetDrainType returns the DrainType field if non-nil, zero value otherwise.
func (o *MetricDrain) GetDrainTypeOk() (*string, bool)
GetDrainTypeOk returns a tuple with the DrainType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetDrainType(v string)
SetDrainType sets DrainType field to given value.
func (o *MetricDrain) GetDrainConfiguration() MetricDrainDrainConfiguration
GetDrainConfiguration returns the DrainConfiguration field if non-nil, zero value otherwise.
func (o *MetricDrain) GetDrainConfigurationOk() (*MetricDrainDrainConfiguration, bool)
GetDrainConfigurationOk returns a tuple with the DrainConfiguration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetDrainConfiguration(v MetricDrainDrainConfiguration)
SetDrainConfiguration sets DrainConfiguration field to given value.
func (o *MetricDrain) GetAggregatorCaCertificate() string
GetAggregatorCaCertificate returns the AggregatorCaCertificate field if non-nil, zero value otherwise.
func (o *MetricDrain) GetAggregatorCaCertificateOk() (*string, bool)
GetAggregatorCaCertificateOk returns a tuple with the AggregatorCaCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetAggregatorCaCertificate(v string)
SetAggregatorCaCertificate sets AggregatorCaCertificate field to given value.
func (o *MetricDrain) SetAggregatorCaCertificateNil(b bool)
SetAggregatorCaCertificateNil sets the value for AggregatorCaCertificate to be an explicit nil
func (o *MetricDrain) UnsetAggregatorCaCertificate()
UnsetAggregatorCaCertificate ensures that no value is present for AggregatorCaCertificate, not even an explicit nil
func (o *MetricDrain) GetAggregatorCaPrivateKeyBlob() string
GetAggregatorCaPrivateKeyBlob returns the AggregatorCaPrivateKeyBlob field if non-nil, zero value otherwise.
func (o *MetricDrain) GetAggregatorCaPrivateKeyBlobOk() (*string, bool)
GetAggregatorCaPrivateKeyBlobOk returns a tuple with the AggregatorCaPrivateKeyBlob field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetAggregatorCaPrivateKeyBlob(v string)
SetAggregatorCaPrivateKeyBlob sets AggregatorCaPrivateKeyBlob field to given value.
func (o *MetricDrain) SetAggregatorCaPrivateKeyBlobNil(b bool)
SetAggregatorCaPrivateKeyBlobNil sets the value for AggregatorCaPrivateKeyBlob to be an explicit nil
func (o *MetricDrain) UnsetAggregatorCaPrivateKeyBlob()
UnsetAggregatorCaPrivateKeyBlob ensures that no value is present for AggregatorCaPrivateKeyBlob, not even an explicit nil
func (o *MetricDrain) GetAggregatorHost() string
GetAggregatorHost returns the AggregatorHost field if non-nil, zero value otherwise.
func (o *MetricDrain) GetAggregatorHostOk() (*string, bool)
GetAggregatorHostOk returns a tuple with the AggregatorHost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetAggregatorHost(v string)
SetAggregatorHost sets AggregatorHost field to given value.
func (o *MetricDrain) SetAggregatorHostNil(b bool)
SetAggregatorHostNil sets the value for AggregatorHost to be an explicit nil
func (o *MetricDrain) UnsetAggregatorHost()
UnsetAggregatorHost ensures that no value is present for AggregatorHost, not even an explicit nil
func (o *MetricDrain) GetAggregatorPortMapping() [][]int32
GetAggregatorPortMapping returns the AggregatorPortMapping field if non-nil, zero value otherwise.
func (o *MetricDrain) GetAggregatorPortMappingOk() (*[][]int32, bool)
GetAggregatorPortMappingOk returns a tuple with the AggregatorPortMapping field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetAggregatorPortMapping(v [][]int32)
SetAggregatorPortMapping sets AggregatorPortMapping field to given value.
func (o *MetricDrain) GetAggregatorInstanceId() string
GetAggregatorInstanceId returns the AggregatorInstanceId field if non-nil, zero value otherwise.
func (o *MetricDrain) GetAggregatorInstanceIdOk() (*string, bool)
GetAggregatorInstanceIdOk returns a tuple with the AggregatorInstanceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetAggregatorInstanceId(v string)
SetAggregatorInstanceId sets AggregatorInstanceId field to given value.
func (o *MetricDrain) SetAggregatorInstanceIdNil(b bool)
SetAggregatorInstanceIdNil sets the value for AggregatorInstanceId to be an explicit nil
func (o *MetricDrain) UnsetAggregatorInstanceId()
UnsetAggregatorInstanceId ensures that no value is present for AggregatorInstanceId, not even an explicit nil
func (o *MetricDrain) GetAggregatorDockerName() string
GetAggregatorDockerName returns the AggregatorDockerName field if non-nil, zero value otherwise.
func (o *MetricDrain) GetAggregatorDockerNameOk() (*string, bool)
GetAggregatorDockerNameOk returns a tuple with the AggregatorDockerName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetAggregatorDockerName(v string)
SetAggregatorDockerName sets AggregatorDockerName field to given value.
func (o *MetricDrain) SetAggregatorDockerNameNil(b bool)
SetAggregatorDockerNameNil sets the value for AggregatorDockerName to be an explicit nil
func (o *MetricDrain) UnsetAggregatorDockerName()
UnsetAggregatorDockerName ensures that no value is present for AggregatorDockerName, not even an explicit nil
func (o *MetricDrain) GetAggregatorAllocation() []string
GetAggregatorAllocation returns the AggregatorAllocation field if non-nil, zero value otherwise.
func (o *MetricDrain) GetAggregatorAllocationOk() (*[]string, bool)
GetAggregatorAllocationOk returns a tuple with the AggregatorAllocation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MetricDrain) SetAggregatorAllocation(v []string)
SetAggregatorAllocation sets AggregatorAllocation field to given value.
func (o *MetricDrain) GetLinks() MetricDrainLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *MetricDrain) GetLinksOk() (*MetricDrainLinks, 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 *MetricDrain) SetLinks(v MetricDrainLinks)
SetLinks sets Links field to given value.
func (o *MetricDrain) HasLinks() bool
HasLinks returns a boolean if a field has been set.