Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.73 KB

Item.md

File metadata and controls

72 lines (39 loc) · 1.73 KB

Item

Properties

Name Type Description Notes
Key string key (hex-encoded)
Value string value (hex-encoded)

Methods

NewItem

func NewItem(key string, value string, ) *Item

NewItem instantiates a new Item 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

NewItemWithDefaults

func NewItemWithDefaults() *Item

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

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

GetKeyOk

func (o *Item) 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 *Item) SetKey(v string)

SetKey sets Key field to given value.

GetValue

func (o *Item) GetValue() string

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

GetValueOk

func (o *Item) 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 *Item) SetValue(v string)

SetValue sets Value field to given value.

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