Name | Type | Description | Notes |
---|---|---|---|
Code | Pointer to string | Your referral code. If others use this when signing up for Linode, you will receive account credit. | [optional] [readonly] |
Completed | Pointer to int32 | The number of completed signups with your referral code. | [optional] [readonly] |
Credit | Pointer to int32 | The amount of account credit in US Dollars issued to you through the referral program. | [optional] [readonly] |
Pending | Pointer to int32 | The number of pending signups with your referral code. You will not receive credit for these signups until they are completed. | [optional] [readonly] |
Total | Pointer to int32 | The number of users who have signed up with your referral code. | [optional] [readonly] |
Url | Pointer to string | Your referral url, used to direct others to sign up for Linode with your referral code. | [optional] [readonly] |
func NewGetProfile200ResponseReferrals() *GetProfile200ResponseReferrals
NewGetProfile200ResponseReferrals instantiates a new GetProfile200ResponseReferrals 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 NewGetProfile200ResponseReferralsWithDefaults() *GetProfile200ResponseReferrals
NewGetProfile200ResponseReferralsWithDefaults instantiates a new GetProfile200ResponseReferrals 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 *GetProfile200ResponseReferrals) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *GetProfile200ResponseReferrals) 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.
func (o *GetProfile200ResponseReferrals) SetCode(v string)
SetCode sets Code field to given value.
func (o *GetProfile200ResponseReferrals) HasCode() bool
HasCode returns a boolean if a field has been set.
func (o *GetProfile200ResponseReferrals) GetCompleted() int32
GetCompleted returns the Completed field if non-nil, zero value otherwise.
func (o *GetProfile200ResponseReferrals) GetCompletedOk() (*int32, bool)
GetCompletedOk returns a tuple with the Completed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetProfile200ResponseReferrals) SetCompleted(v int32)
SetCompleted sets Completed field to given value.
func (o *GetProfile200ResponseReferrals) HasCompleted() bool
HasCompleted returns a boolean if a field has been set.
func (o *GetProfile200ResponseReferrals) GetCredit() int32
GetCredit returns the Credit field if non-nil, zero value otherwise.
func (o *GetProfile200ResponseReferrals) GetCreditOk() (*int32, bool)
GetCreditOk returns a tuple with the Credit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetProfile200ResponseReferrals) SetCredit(v int32)
SetCredit sets Credit field to given value.
func (o *GetProfile200ResponseReferrals) HasCredit() bool
HasCredit returns a boolean if a field has been set.
func (o *GetProfile200ResponseReferrals) GetPending() int32
GetPending returns the Pending field if non-nil, zero value otherwise.
func (o *GetProfile200ResponseReferrals) GetPendingOk() (*int32, bool)
GetPendingOk returns a tuple with the Pending field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetProfile200ResponseReferrals) SetPending(v int32)
SetPending sets Pending field to given value.
func (o *GetProfile200ResponseReferrals) HasPending() bool
HasPending returns a boolean if a field has been set.
func (o *GetProfile200ResponseReferrals) GetTotal() int32
GetTotal returns the Total field if non-nil, zero value otherwise.
func (o *GetProfile200ResponseReferrals) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetProfile200ResponseReferrals) SetTotal(v int32)
SetTotal sets Total field to given value.
func (o *GetProfile200ResponseReferrals) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (o *GetProfile200ResponseReferrals) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *GetProfile200ResponseReferrals) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetProfile200ResponseReferrals) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *GetProfile200ResponseReferrals) HasUrl() bool
HasUrl returns a boolean if a field has been set.