github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/Label.md (about) 1 # Label 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Key** | **string** | | 8 **Value** | **string** | | 9 10 ## Methods 11 12 ### NewLabel 13 14 `func NewLabel(key string, value string, ) *Label` 15 16 NewLabel instantiates a new Label object 17 This constructor will assign default values to properties that have it defined, 18 and makes sure properties required by API are set, but the set of arguments 19 will change when the set of required properties is changed 20 21 ### NewLabelWithDefaults 22 23 `func NewLabelWithDefaults() *Label` 24 25 NewLabelWithDefaults instantiates a new Label object 26 This constructor will only assign default values to properties that have it defined, 27 but it doesn't guarantee that properties required by API are set 28 29 ### GetKey 30 31 `func (o *Label) GetKey() string` 32 33 GetKey returns the Key field if non-nil, zero value otherwise. 34 35 ### GetKeyOk 36 37 `func (o *Label) GetKeyOk() (*string, bool)` 38 39 GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise 40 and a boolean to check if the value has been set. 41 42 ### SetKey 43 44 `func (o *Label) SetKey(v string)` 45 46 SetKey sets Key field to given value. 47 48 49 ### GetValue 50 51 `func (o *Label) GetValue() string` 52 53 GetValue returns the Value field if non-nil, zero value otherwise. 54 55 ### GetValueOk 56 57 `func (o *Label) GetValueOk() (*string, bool)` 58 59 GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise 60 and a boolean to check if the value has been set. 61 62 ### SetValue 63 64 `func (o *Label) SetValue(v string)` 65 66 SetValue sets Value field to given value. 67 68 69 70 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 72