Files
sdk/docs/O11yLabel.md

2.3 KiB

O11yLabel

Properties

Name Type Description Notes
Key Pointer to O11yTelemetryFieldKey [optional]
Value Pointer to interface{} [optional]

Methods

NewO11yLabel

func NewO11yLabel() *O11yLabel

NewO11yLabel instantiates a new O11yLabel 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

NewO11yLabelWithDefaults

func NewO11yLabelWithDefaults() *O11yLabel

NewO11yLabelWithDefaults instantiates a new O11yLabel 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

GetKey

func (o *O11yLabel) GetKey() O11yTelemetryFieldKey

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *O11yLabel) GetKeyOk() (*O11yTelemetryFieldKey, bool)

GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKey

func (o *O11yLabel) SetKey(v O11yTelemetryFieldKey)

SetKey sets Key field to given value.

HasKey

func (o *O11yLabel) HasKey() bool

HasKey returns a boolean if a field has been set.

GetValue

func (o *O11yLabel) GetValue() interface{}

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *O11yLabel) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetValue

func (o *O11yLabel) SetValue(v interface{})

SetValue sets Value field to given value.

HasValue

func (o *O11yLabel) HasValue() bool

HasValue returns a boolean if a field has been set.

SetValueNil

func (o *O11yLabel) SetValueNil(b bool)

SetValueNil sets the value for Value to be an explicit nil

UnsetValue

func (o *O11yLabel) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]