4.5 KiB
ReferralClaimView
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Code | Pointer to string | Code is the referral code the referral was recorded against. | [optional] |
| Created | Pointer to bool | Created is true when this call recorded the referral and false when it found one already recorded for this referee — the idempotent replay. | [optional] |
| CreatedAt | Pointer to int64 | CreatedAt is when the referral was first recorded, as a Unix timestamp. | [optional] |
| Id | Pointer to string | ID is the referral's handle. | [optional] |
| Status | Pointer to string | Status is the referral's lifecycle state: "signup" until the referee makes metered spend, then "qualified", then "credited". | [optional] |
Methods
NewReferralClaimView
func NewReferralClaimView() *ReferralClaimView
NewReferralClaimView instantiates a new ReferralClaimView 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
NewReferralClaimViewWithDefaults
func NewReferralClaimViewWithDefaults() *ReferralClaimView
NewReferralClaimViewWithDefaults instantiates a new ReferralClaimView 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
GetCode
func (o *ReferralClaimView) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
GetCodeOk
func (o *ReferralClaimView) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCode
func (o *ReferralClaimView) SetCode(v string)
SetCode sets Code field to given value.
HasCode
func (o *ReferralClaimView) HasCode() bool
HasCode returns a boolean if a field has been set.
GetCreated
func (o *ReferralClaimView) GetCreated() bool
GetCreated returns the Created field if non-nil, zero value otherwise.
GetCreatedOk
func (o *ReferralClaimView) GetCreatedOk() (*bool, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreated
func (o *ReferralClaimView) SetCreated(v bool)
SetCreated sets Created field to given value.
HasCreated
func (o *ReferralClaimView) HasCreated() bool
HasCreated returns a boolean if a field has been set.
GetCreatedAt
func (o *ReferralClaimView) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *ReferralClaimView) GetCreatedAtOk() (*int64, 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.
SetCreatedAt
func (o *ReferralClaimView) SetCreatedAt(v int64)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *ReferralClaimView) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetId
func (o *ReferralClaimView) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *ReferralClaimView) 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 *ReferralClaimView) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *ReferralClaimView) HasId() bool
HasId returns a boolean if a field has been set.
GetStatus
func (o *ReferralClaimView) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *ReferralClaimView) 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.
SetStatus
func (o *ReferralClaimView) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *ReferralClaimView) HasStatus() bool
HasStatus returns a boolean if a field has been set.