Skip to content

Latest commit

 

History

History
262 lines (145 loc) · 6.94 KB

File metadata and controls

262 lines (145 loc) · 6.94 KB

BaseCustomer

Properties

Name Type Description Notes
Id Pointer to string [optional]
Email Pointer to string [optional]
FirstName Pointer to NullableString [optional]
LastName Pointer to NullableString [optional]
Phone Pointer to NullableString [optional]
AdditionalFields Pointer to map[string]interface{} [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewBaseCustomer

func NewBaseCustomer() *BaseCustomer

NewBaseCustomer instantiates a new BaseCustomer 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

NewBaseCustomerWithDefaults

func NewBaseCustomerWithDefaults() *BaseCustomer

NewBaseCustomerWithDefaults instantiates a new BaseCustomer 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 *BaseCustomer) GetId() string

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

GetIdOk

func (o *BaseCustomer) 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 *BaseCustomer) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *BaseCustomer) HasId() bool

HasId returns a boolean if a field has been set.

GetEmail

func (o *BaseCustomer) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

GetEmailOk

func (o *BaseCustomer) GetEmailOk() (*string, bool)

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

SetEmail

func (o *BaseCustomer) SetEmail(v string)

SetEmail sets Email field to given value.

HasEmail

func (o *BaseCustomer) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetFirstName

func (o *BaseCustomer) GetFirstName() string

GetFirstName returns the FirstName field if non-nil, zero value otherwise.

GetFirstNameOk

func (o *BaseCustomer) GetFirstNameOk() (*string, bool)

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

SetFirstName

func (o *BaseCustomer) SetFirstName(v string)

SetFirstName sets FirstName field to given value.

HasFirstName

func (o *BaseCustomer) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

SetFirstNameNil

func (o *BaseCustomer) SetFirstNameNil(b bool)

SetFirstNameNil sets the value for FirstName to be an explicit nil

UnsetFirstName

func (o *BaseCustomer) UnsetFirstName()

UnsetFirstName ensures that no value is present for FirstName, not even an explicit nil

GetLastName

func (o *BaseCustomer) GetLastName() string

GetLastName returns the LastName field if non-nil, zero value otherwise.

GetLastNameOk

func (o *BaseCustomer) GetLastNameOk() (*string, bool)

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

SetLastName

func (o *BaseCustomer) SetLastName(v string)

SetLastName sets LastName field to given value.

HasLastName

func (o *BaseCustomer) HasLastName() bool

HasLastName returns a boolean if a field has been set.

SetLastNameNil

func (o *BaseCustomer) SetLastNameNil(b bool)

SetLastNameNil sets the value for LastName to be an explicit nil

UnsetLastName

func (o *BaseCustomer) UnsetLastName()

UnsetLastName ensures that no value is present for LastName, not even an explicit nil

GetPhone

func (o *BaseCustomer) GetPhone() string

GetPhone returns the Phone field if non-nil, zero value otherwise.

GetPhoneOk

func (o *BaseCustomer) GetPhoneOk() (*string, bool)

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

SetPhone

func (o *BaseCustomer) SetPhone(v string)

SetPhone sets Phone field to given value.

HasPhone

func (o *BaseCustomer) HasPhone() bool

HasPhone returns a boolean if a field has been set.

SetPhoneNil

func (o *BaseCustomer) SetPhoneNil(b bool)

SetPhoneNil sets the value for Phone to be an explicit nil

UnsetPhone

func (o *BaseCustomer) UnsetPhone()

UnsetPhone ensures that no value is present for Phone, not even an explicit nil

GetAdditionalFields

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

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

GetAdditionalFieldsOk

func (o *BaseCustomer) 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 *BaseCustomer) SetAdditionalFields(v map[string]interface{})

SetAdditionalFields sets AdditionalFields field to given value.

HasAdditionalFields

func (o *BaseCustomer) HasAdditionalFields() bool

HasAdditionalFields returns a boolean if a field has been set.

SetAdditionalFieldsNil

func (o *BaseCustomer) SetAdditionalFieldsNil(b bool)

SetAdditionalFieldsNil sets the value for AdditionalFields to be an explicit nil

UnsetAdditionalFields

func (o *BaseCustomer) UnsetAdditionalFields()

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

GetCustomFields

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

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

GetCustomFieldsOk

func (o *BaseCustomer) 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 *BaseCustomer) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *BaseCustomer) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

SetCustomFieldsNil

func (o *BaseCustomer) SetCustomFieldsNil(b bool)

SetCustomFieldsNil sets the value for CustomFields to be an explicit nil

UnsetCustomFields

func (o *BaseCustomer) 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]