Name | Type | Description | Notes |
---|---|---|---|
Key | Pointer to string | Name of the key. | [optional] |
Value | Pointer to string | Value of the key. | [optional] |
func NewKeyValuePair() *KeyValuePair
NewKeyValuePair instantiates a new KeyValuePair 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 NewKeyValuePairWithDefaults() *KeyValuePair
NewKeyValuePairWithDefaults instantiates a new KeyValuePair 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 *KeyValuePair) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *KeyValuePair) GetKeyOk() (*string, 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.
func (o *KeyValuePair) SetKey(v string)
SetKey sets Key field to given value.
func (o *KeyValuePair) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *KeyValuePair) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *KeyValuePair) GetValueOk() (*string, 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.
func (o *KeyValuePair) SetValue(v string)
SetValue sets Value field to given value.
func (o *KeyValuePair) HasValue() bool
HasValue returns a boolean if a field has been set.