Name | Type | Description | Notes |
---|---|---|---|
StartDate | Pointer to time.Time | Timestamp at which point the referral code becomes valid. | [optional] |
ExpiryDate | Pointer to time.Time | Expiration date of the referral code. Referral never expires if this is omitted, zero, or negative. | [optional] |
UsageLimit | Pointer to int32 | The number of times a referral code can be used. `0` means no limit but any campaign usage limits will still apply. | |
CampaignId | Pointer to int32 | The ID of the campaign from which the referral received the referral code. | |
AdvocateProfileIntegrationIds | Pointer to []string | An array containing all the respective advocate profiles. | |
Attributes | Pointer to map[string]interface{} | Arbitrary properties associated with this referral code. | [optional] |
ValidCharacters | Pointer to []string | List of characters used to generate the random parts of a code. By default, the list of characters is equivalent to the `[A-Z, 0-9]` regular expression. | [optional] |
ReferralPattern | Pointer to string | The pattern used to generate referrals. The character `#` is a placeholder and is replaced by a random character from the `validCharacters` set. | [optional] |
func (o *NewReferralsForMultipleAdvocates) GetStartDate() time.Time
GetStartDate returns the StartDate field if non-nil, zero value otherwise.
func (o *NewReferralsForMultipleAdvocates) GetStartDateOk() (time.Time, bool)
GetStartDateOk returns a tuple with the StartDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewReferralsForMultipleAdvocates) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
func (o *NewReferralsForMultipleAdvocates) SetStartDate(v time.Time)
SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.
func (o *NewReferralsForMultipleAdvocates) GetExpiryDate() time.Time
GetExpiryDate returns the ExpiryDate field if non-nil, zero value otherwise.
func (o *NewReferralsForMultipleAdvocates) GetExpiryDateOk() (time.Time, bool)
GetExpiryDateOk returns a tuple with the ExpiryDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewReferralsForMultipleAdvocates) HasExpiryDate() bool
HasExpiryDate returns a boolean if a field has been set.
func (o *NewReferralsForMultipleAdvocates) SetExpiryDate(v time.Time)
SetExpiryDate gets a reference to the given time.Time and assigns it to the ExpiryDate field.
func (o *NewReferralsForMultipleAdvocates) GetUsageLimit() int32
GetUsageLimit returns the UsageLimit field if non-nil, zero value otherwise.
func (o *NewReferralsForMultipleAdvocates) GetUsageLimitOk() (int32, bool)
GetUsageLimitOk returns a tuple with the UsageLimit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewReferralsForMultipleAdvocates) HasUsageLimit() bool
HasUsageLimit returns a boolean if a field has been set.
func (o *NewReferralsForMultipleAdvocates) SetUsageLimit(v int32)
SetUsageLimit gets a reference to the given int32 and assigns it to the UsageLimit field.
func (o *NewReferralsForMultipleAdvocates) GetCampaignId() int32
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
func (o *NewReferralsForMultipleAdvocates) GetCampaignIdOk() (int32, bool)
GetCampaignIdOk returns a tuple with the CampaignId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewReferralsForMultipleAdvocates) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
func (o *NewReferralsForMultipleAdvocates) SetCampaignId(v int32)
SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.
func (o *NewReferralsForMultipleAdvocates) GetAdvocateProfileIntegrationIds() []string
GetAdvocateProfileIntegrationIds returns the AdvocateProfileIntegrationIds field if non-nil, zero value otherwise.
func (o *NewReferralsForMultipleAdvocates) GetAdvocateProfileIntegrationIdsOk() ([]string, bool)
GetAdvocateProfileIntegrationIdsOk returns a tuple with the AdvocateProfileIntegrationIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewReferralsForMultipleAdvocates) HasAdvocateProfileIntegrationIds() bool
HasAdvocateProfileIntegrationIds returns a boolean if a field has been set.
func (o *NewReferralsForMultipleAdvocates) SetAdvocateProfileIntegrationIds(v []string)
SetAdvocateProfileIntegrationIds gets a reference to the given []string and assigns it to the AdvocateProfileIntegrationIds field.
func (o *NewReferralsForMultipleAdvocates) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *NewReferralsForMultipleAdvocates) GetAttributesOk() (map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewReferralsForMultipleAdvocates) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *NewReferralsForMultipleAdvocates) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (o *NewReferralsForMultipleAdvocates) GetValidCharacters() []string
GetValidCharacters returns the ValidCharacters field if non-nil, zero value otherwise.
func (o *NewReferralsForMultipleAdvocates) GetValidCharactersOk() ([]string, bool)
GetValidCharactersOk returns a tuple with the ValidCharacters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewReferralsForMultipleAdvocates) HasValidCharacters() bool
HasValidCharacters returns a boolean if a field has been set.
func (o *NewReferralsForMultipleAdvocates) SetValidCharacters(v []string)
SetValidCharacters gets a reference to the given []string and assigns it to the ValidCharacters field.
func (o *NewReferralsForMultipleAdvocates) GetReferralPattern() string
GetReferralPattern returns the ReferralPattern field if non-nil, zero value otherwise.
func (o *NewReferralsForMultipleAdvocates) GetReferralPatternOk() (string, bool)
GetReferralPatternOk returns a tuple with the ReferralPattern field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewReferralsForMultipleAdvocates) HasReferralPattern() bool
HasReferralPattern returns a boolean if a field has been set.
func (o *NewReferralsForMultipleAdvocates) SetReferralPattern(v string)
SetReferralPattern gets a reference to the given string and assigns it to the ReferralPattern field.