Skip to content

Latest commit

 

History

History
236 lines (131 loc) · 6.24 KB

File metadata and controls

236 lines (131 loc) · 6.24 KB

CartMetaData

Properties

Name Type Description Notes
Id Pointer to string [optional]
Key Pointer to NullableString [optional]
Value Pointer to NullableString [optional]
Namespace Pointer to NullableString [optional]
AdditionalFields Pointer to map[string]interface{} [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewCartMetaData

func NewCartMetaData() *CartMetaData

NewCartMetaData instantiates a new CartMetaData 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

NewCartMetaDataWithDefaults

func NewCartMetaDataWithDefaults() *CartMetaData

NewCartMetaDataWithDefaults instantiates a new CartMetaData 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

GetId

func (o *CartMetaData) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *CartMetaData) GetIdOk() (*string, bool)

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

SetId

func (o *CartMetaData) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *CartMetaData) HasId() bool

HasId returns a boolean if a field has been set.

GetKey

func (o *CartMetaData) GetKey() string

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

GetKeyOk

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

SetKey sets Key field to given value.

HasKey

func (o *CartMetaData) HasKey() bool

HasKey returns a boolean if a field has been set.

SetKeyNil

func (o *CartMetaData) SetKeyNil(b bool)

SetKeyNil sets the value for Key to be an explicit nil

UnsetKey

func (o *CartMetaData) UnsetKey()

UnsetKey ensures that no value is present for Key, not even an explicit nil

GetValue

func (o *CartMetaData) GetValue() string

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

GetValueOk

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

SetValue sets Value field to given value.

HasValue

func (o *CartMetaData) HasValue() bool

HasValue returns a boolean if a field has been set.

SetValueNil

func (o *CartMetaData) SetValueNil(b bool)

SetValueNil sets the value for Value to be an explicit nil

UnsetValue

func (o *CartMetaData) UnsetValue()

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

GetNamespace

func (o *CartMetaData) GetNamespace() string

GetNamespace returns the Namespace field if non-nil, zero value otherwise.

GetNamespaceOk

func (o *CartMetaData) GetNamespaceOk() (*string, bool)

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

SetNamespace

func (o *CartMetaData) SetNamespace(v string)

SetNamespace sets Namespace field to given value.

HasNamespace

func (o *CartMetaData) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

SetNamespaceNil

func (o *CartMetaData) SetNamespaceNil(b bool)

SetNamespaceNil sets the value for Namespace to be an explicit nil

UnsetNamespace

func (o *CartMetaData) UnsetNamespace()

UnsetNamespace ensures that no value is present for Namespace, not even an explicit nil

GetAdditionalFields

func (o *CartMetaData) GetAdditionalFields() map[string]interface{}

GetAdditionalFields returns the AdditionalFields field if non-nil, zero value otherwise.

GetAdditionalFieldsOk

func (o *CartMetaData) GetAdditionalFieldsOk() (*map[string]interface{}, bool)

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

SetAdditionalFields

func (o *CartMetaData) SetAdditionalFields(v map[string]interface{})

SetAdditionalFields sets AdditionalFields field to given value.

HasAdditionalFields

func (o *CartMetaData) HasAdditionalFields() bool

HasAdditionalFields returns a boolean if a field has been set.

SetAdditionalFieldsNil

func (o *CartMetaData) SetAdditionalFieldsNil(b bool)

SetAdditionalFieldsNil sets the value for AdditionalFields to be an explicit nil

UnsetAdditionalFields

func (o *CartMetaData) UnsetAdditionalFields()

UnsetAdditionalFields ensures that no value is present for AdditionalFields, not even an explicit nil

GetCustomFields

func (o *CartMetaData) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.

GetCustomFieldsOk

func (o *CartMetaData) GetCustomFieldsOk() (*map[string]interface{}, bool)

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

SetCustomFields

func (o *CartMetaData) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *CartMetaData) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

SetCustomFieldsNil

func (o *CartMetaData) SetCustomFieldsNil(b bool)

SetCustomFieldsNil sets the value for CustomFields to be an explicit nil

UnsetCustomFields

func (o *CartMetaData) UnsetCustomFields()

UnsetCustomFields ensures that no value is present for CustomFields, not even an explicit nil

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