Name | Type | Description | Notes |
---|---|---|---|
CouponOptions | Pointer to CouponOptions | [optional] | |
Plan | Pointer to Plan | [optional] | |
Trial | Pointer to Trial | [optional] | |
Name | Pointer to NullableString | Name | [optional] |
Pointer to NullableString | [optional] | ||
CouponCode | string | Coupon code | |
Domain | Pointer to NullableString | Domain | [optional] |
Aggregate | string | Aggregate | |
UseBy | Pointer to NullableString | Used By | [optional] |
Active | bool | Is Active flag | |
Reusable | bool | Is reusable flag | |
CreatedAt | string | Created Date in ISO-8601 format e.g. 2022-05-06T02:39:23.000Z | |
UpdatedAt | string | Updated Date in ISO-8601 format e.g. 2022-05-06T02:39:23.000Z |
func NewSubscriberInvite(couponCode string, aggregate string, active bool, reusable bool, createdAt string, updatedAt string, ) *SubscriberInvite
NewSubscriberInvite instantiates a new SubscriberInvite 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 NewSubscriberInviteWithDefaults() *SubscriberInvite
NewSubscriberInviteWithDefaults instantiates a new SubscriberInvite 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 *SubscriberInvite) GetCouponOptions() CouponOptions
GetCouponOptions returns the CouponOptions field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetCouponOptionsOk() (*CouponOptions, bool)
GetCouponOptionsOk returns a tuple with the CouponOptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriberInvite) SetCouponOptions(v CouponOptions)
SetCouponOptions sets CouponOptions field to given value.
func (o *SubscriberInvite) HasCouponOptions() bool
HasCouponOptions returns a boolean if a field has been set.
func (o *SubscriberInvite) GetPlan() Plan
GetPlan returns the Plan field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetPlanOk() (*Plan, bool)
GetPlanOk returns a tuple with the Plan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriberInvite) SetPlan(v Plan)
SetPlan sets Plan field to given value.
func (o *SubscriberInvite) HasPlan() bool
HasPlan returns a boolean if a field has been set.
func (o *SubscriberInvite) GetTrial() Trial
GetTrial returns the Trial field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetTrialOk() (*Trial, bool)
GetTrialOk returns a tuple with the Trial field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriberInvite) SetTrial(v Trial)
SetTrial sets Trial field to given value.
func (o *SubscriberInvite) HasTrial() bool
HasTrial returns a boolean if a field has been set.
func (o *SubscriberInvite) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriberInvite) SetName(v string)
SetName sets Name field to given value.
func (o *SubscriberInvite) HasName() bool
HasName returns a boolean if a field has been set.
func (o *SubscriberInvite) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *SubscriberInvite) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *SubscriberInvite) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *SubscriberInvite) 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 *SubscriberInvite) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *SubscriberInvite) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *SubscriberInvite) SetEmailNil(b bool)
SetEmailNil sets the value for Email to be an explicit nil
func (o *SubscriberInvite) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
func (o *SubscriberInvite) GetCouponCode() string
GetCouponCode returns the CouponCode field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetCouponCodeOk() (*string, bool)
GetCouponCodeOk returns a tuple with the CouponCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriberInvite) SetCouponCode(v string)
SetCouponCode sets CouponCode field to given value.
func (o *SubscriberInvite) GetDomain() string
GetDomain returns the Domain field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriberInvite) SetDomain(v string)
SetDomain sets Domain field to given value.
func (o *SubscriberInvite) HasDomain() bool
HasDomain returns a boolean if a field has been set.
func (o *SubscriberInvite) SetDomainNil(b bool)
SetDomainNil sets the value for Domain to be an explicit nil
func (o *SubscriberInvite) UnsetDomain()
UnsetDomain ensures that no value is present for Domain, not even an explicit nil
func (o *SubscriberInvite) GetAggregate() string
GetAggregate returns the Aggregate field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetAggregateOk() (*string, bool)
GetAggregateOk returns a tuple with the Aggregate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriberInvite) SetAggregate(v string)
SetAggregate sets Aggregate field to given value.
func (o *SubscriberInvite) GetUseBy() string
GetUseBy returns the UseBy field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetUseByOk() (*string, bool)
GetUseByOk returns a tuple with the UseBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriberInvite) SetUseBy(v string)
SetUseBy sets UseBy field to given value.
func (o *SubscriberInvite) HasUseBy() bool
HasUseBy returns a boolean if a field has been set.
func (o *SubscriberInvite) SetUseByNil(b bool)
SetUseByNil sets the value for UseBy to be an explicit nil
func (o *SubscriberInvite) UnsetUseBy()
UnsetUseBy ensures that no value is present for UseBy, not even an explicit nil
func (o *SubscriberInvite) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriberInvite) SetActive(v bool)
SetActive sets Active field to given value.
func (o *SubscriberInvite) GetReusable() bool
GetReusable returns the Reusable field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetReusableOk() (*bool, bool)
GetReusableOk returns a tuple with the Reusable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriberInvite) SetReusable(v bool)
SetReusable sets Reusable field to given value.
func (o *SubscriberInvite) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetCreatedAtOk() (*string, 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 *SubscriberInvite) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
func (o *SubscriberInvite) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *SubscriberInvite) GetUpdatedAtOk() (*string, 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 *SubscriberInvite) SetUpdatedAt(v string)
SetUpdatedAt sets UpdatedAt field to given value.