| Name | Type | Description | Notes |
|---|---|---|---|
| Id | int32 | Unique identifier of the lead | [readonly] |
| CreationMethod | string | Indicates the lead was created | |
| ReferralText | NullableString | Text supplied at referral | |
| Title | string | Title of the lead | |
| AccountId | NullableInt32 | ID of the account linked to this lead | |
| UserId | NullableInt32 | ID of the user linked to this lead | |
| LabelIds | []int32 | An array of integers representing unique identifier values associated with labels. | |
| Value | NullableString | Decimal representing the price of a lead | |
| CompanyName | NullableString | Name of the company where this lead comes from | |
| FirstName | NullableString | The first name of the lead | |
| MiddleName | NullableString | The middle name of the lead | |
| LastName | NullableString | The last name of the lead | |
| AdministratorId | NullableInt32 | ID of administrator that owns the lead | |
| NullableString | The email of the lead | ||
| Phone | NullableString | The phone number of the lead | |
| Status | string | The status of the lead | |
| Quality | NullableString | Star scoring for the lead | |
| WantsNewsletter | bool | Indicates if lead wants to receive the newsletter or not | |
| UpdatedAt | time.Time | Timestamp of last update. | [readonly] |
| CreatedAt | time.Time | Timestamp of creation. | [readonly] |
func NewLead(id int32, creationMethod string, referralText NullableString, title string, accountId NullableInt32, userId NullableInt32, labelIds []int32, value NullableString, companyName NullableString, firstName NullableString, middleName NullableString, lastName NullableString, administratorId NullableInt32, email NullableString, phone NullableString, status string, quality NullableString, wantsNewsletter bool, updatedAt time.Time, createdAt time.Time, ) *Lead
NewLead instantiates a new Lead 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 NewLeadWithDefaults() *Lead
NewLeadWithDefaults instantiates a new Lead 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 *Lead) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Lead) GetIdOk() (*int32, 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.
func (o *Lead) SetId(v int32)
SetId sets Id field to given value.
func (o *Lead) GetCreationMethod() string
GetCreationMethod returns the CreationMethod field if non-nil, zero value otherwise.
func (o *Lead) GetCreationMethodOk() (*string, bool)
GetCreationMethodOk returns a tuple with the CreationMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetCreationMethod(v string)
SetCreationMethod sets CreationMethod field to given value.
func (o *Lead) GetReferralText() string
GetReferralText returns the ReferralText field if non-nil, zero value otherwise.
func (o *Lead) GetReferralTextOk() (*string, bool)
GetReferralTextOk returns a tuple with the ReferralText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetReferralText(v string)
SetReferralText sets ReferralText field to given value.
func (o *Lead) SetReferralTextNil(b bool)
SetReferralTextNil sets the value for ReferralText to be an explicit nil
func (o *Lead) UnsetReferralText()
UnsetReferralText ensures that no value is present for ReferralText, not even an explicit nil
func (o *Lead) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *Lead) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *Lead) GetAccountId() int32
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *Lead) GetAccountIdOk() (*int32, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetAccountId(v int32)
SetAccountId sets AccountId field to given value.
func (o *Lead) SetAccountIdNil(b bool)
SetAccountIdNil sets the value for AccountId to be an explicit nil
func (o *Lead) UnsetAccountId()
UnsetAccountId ensures that no value is present for AccountId, not even an explicit nil
func (o *Lead) GetUserId() int32
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *Lead) GetUserIdOk() (*int32, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetUserId(v int32)
SetUserId sets UserId field to given value.
func (o *Lead) SetUserIdNil(b bool)
SetUserIdNil sets the value for UserId to be an explicit nil
func (o *Lead) UnsetUserId()
UnsetUserId ensures that no value is present for UserId, not even an explicit nil
func (o *Lead) GetLabelIds() []int32
GetLabelIds returns the LabelIds field if non-nil, zero value otherwise.
func (o *Lead) GetLabelIdsOk() (*[]int32, bool)
GetLabelIdsOk returns a tuple with the LabelIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetLabelIds(v []int32)
SetLabelIds sets LabelIds field to given value.
func (o *Lead) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *Lead) 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 *Lead) SetValue(v string)
SetValue sets Value field to given value.
func (o *Lead) SetValueNil(b bool)
SetValueNil sets the value for Value to be an explicit nil
func (o *Lead) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil
func (o *Lead) GetCompanyName() string
GetCompanyName returns the CompanyName field if non-nil, zero value otherwise.
func (o *Lead) GetCompanyNameOk() (*string, bool)
GetCompanyNameOk returns a tuple with the CompanyName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetCompanyName(v string)
SetCompanyName sets CompanyName field to given value.
func (o *Lead) SetCompanyNameNil(b bool)
SetCompanyNameNil sets the value for CompanyName to be an explicit nil
func (o *Lead) UnsetCompanyName()
UnsetCompanyName ensures that no value is present for CompanyName, not even an explicit nil
func (o *Lead) GetFirstName() string
GetFirstName returns the FirstName field if non-nil, zero value otherwise.
func (o *Lead) 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.
func (o *Lead) SetFirstName(v string)
SetFirstName sets FirstName field to given value.
func (o *Lead) SetFirstNameNil(b bool)
SetFirstNameNil sets the value for FirstName to be an explicit nil
func (o *Lead) UnsetFirstName()
UnsetFirstName ensures that no value is present for FirstName, not even an explicit nil
func (o *Lead) GetMiddleName() string
GetMiddleName returns the MiddleName field if non-nil, zero value otherwise.
func (o *Lead) GetMiddleNameOk() (*string, bool)
GetMiddleNameOk returns a tuple with the MiddleName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetMiddleName(v string)
SetMiddleName sets MiddleName field to given value.
func (o *Lead) SetMiddleNameNil(b bool)
SetMiddleNameNil sets the value for MiddleName to be an explicit nil
func (o *Lead) UnsetMiddleName()
UnsetMiddleName ensures that no value is present for MiddleName, not even an explicit nil
func (o *Lead) GetLastName() string
GetLastName returns the LastName field if non-nil, zero value otherwise.
func (o *Lead) 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.
func (o *Lead) SetLastName(v string)
SetLastName sets LastName field to given value.
func (o *Lead) SetLastNameNil(b bool)
SetLastNameNil sets the value for LastName to be an explicit nil
func (o *Lead) UnsetLastName()
UnsetLastName ensures that no value is present for LastName, not even an explicit nil
func (o *Lead) GetAdministratorId() int32
GetAdministratorId returns the AdministratorId field if non-nil, zero value otherwise.
func (o *Lead) GetAdministratorIdOk() (*int32, bool)
GetAdministratorIdOk returns a tuple with the AdministratorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetAdministratorId(v int32)
SetAdministratorId sets AdministratorId field to given value.
func (o *Lead) SetAdministratorIdNil(b bool)
SetAdministratorIdNil sets the value for AdministratorId to be an explicit nil
func (o *Lead) UnsetAdministratorId()
UnsetAdministratorId ensures that no value is present for AdministratorId, not even an explicit nil
func (o *Lead) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *Lead) 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.
func (o *Lead) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *Lead) SetEmailNil(b bool)
SetEmailNil sets the value for Email to be an explicit nil
func (o *Lead) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
func (o *Lead) GetPhone() string
GetPhone returns the Phone field if non-nil, zero value otherwise.
func (o *Lead) 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.
func (o *Lead) SetPhone(v string)
SetPhone sets Phone field to given value.
func (o *Lead) SetPhoneNil(b bool)
SetPhoneNil sets the value for Phone to be an explicit nil
func (o *Lead) UnsetPhone()
UnsetPhone ensures that no value is present for Phone, not even an explicit nil
func (o *Lead) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Lead) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *Lead) GetQuality() string
GetQuality returns the Quality field if non-nil, zero value otherwise.
func (o *Lead) GetQualityOk() (*string, bool)
GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetQuality(v string)
SetQuality sets Quality field to given value.
func (o *Lead) SetQualityNil(b bool)
SetQualityNil sets the value for Quality to be an explicit nil
func (o *Lead) UnsetQuality()
UnsetQuality ensures that no value is present for Quality, not even an explicit nil
func (o *Lead) GetWantsNewsletter() bool
GetWantsNewsletter returns the WantsNewsletter field if non-nil, zero value otherwise.
func (o *Lead) GetWantsNewsletterOk() (*bool, bool)
GetWantsNewsletterOk returns a tuple with the WantsNewsletter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetWantsNewsletter(v bool)
SetWantsNewsletter sets WantsNewsletter field to given value.
func (o *Lead) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Lead) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Lead) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Lead) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lead) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.