Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 1.93 KB

Pair.md

File metadata and controls

82 lines (45 loc) · 1.93 KB

Pair

Properties

Name Type Description Notes
Key Pointer to string The key part. [optional]
Value Pointer to string The value part. [optional]

Methods

NewPair

func NewPair() *Pair

NewPair instantiates a new Pair 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

NewPairWithDefaults

func NewPairWithDefaults() *Pair

NewPairWithDefaults instantiates a new Pair 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 *Pair) GetKey() string

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

GetKeyOk

func (o *Pair) 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.

SetKey

func (o *Pair) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *Pair) HasKey() bool

HasKey returns a boolean if a field has been set.

GetValue

func (o *Pair) GetValue() string

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

GetValueOk

func (o *Pair) 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.

SetValue

func (o *Pair) SetValue(v string)

SetValue sets Value field to given value.

HasValue

func (o *Pair) HasValue() bool

HasValue returns a boolean if a field has been set.

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