Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 5.64 KB

GetProfile200ResponseReferrals.md

File metadata and controls

186 lines (101 loc) · 5.64 KB

GetProfile200ResponseReferrals

Properties

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]

Methods

NewGetProfile200ResponseReferrals

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

NewGetProfile200ResponseReferralsWithDefaults

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

GetCode

func (o *GetProfile200ResponseReferrals) GetCode() string

GetCode returns the Code field if non-nil, zero value otherwise.

GetCodeOk

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.

SetCode

func (o *GetProfile200ResponseReferrals) SetCode(v string)

SetCode sets Code field to given value.

HasCode

func (o *GetProfile200ResponseReferrals) HasCode() bool

HasCode returns a boolean if a field has been set.

GetCompleted

func (o *GetProfile200ResponseReferrals) GetCompleted() int32

GetCompleted returns the Completed field if non-nil, zero value otherwise.

GetCompletedOk

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.

SetCompleted

func (o *GetProfile200ResponseReferrals) SetCompleted(v int32)

SetCompleted sets Completed field to given value.

HasCompleted

func (o *GetProfile200ResponseReferrals) HasCompleted() bool

HasCompleted returns a boolean if a field has been set.

GetCredit

func (o *GetProfile200ResponseReferrals) GetCredit() int32

GetCredit returns the Credit field if non-nil, zero value otherwise.

GetCreditOk

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.

SetCredit

func (o *GetProfile200ResponseReferrals) SetCredit(v int32)

SetCredit sets Credit field to given value.

HasCredit

func (o *GetProfile200ResponseReferrals) HasCredit() bool

HasCredit returns a boolean if a field has been set.

GetPending

func (o *GetProfile200ResponseReferrals) GetPending() int32

GetPending returns the Pending field if non-nil, zero value otherwise.

GetPendingOk

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.

SetPending

func (o *GetProfile200ResponseReferrals) SetPending(v int32)

SetPending sets Pending field to given value.

HasPending

func (o *GetProfile200ResponseReferrals) HasPending() bool

HasPending returns a boolean if a field has been set.

GetTotal

func (o *GetProfile200ResponseReferrals) GetTotal() int32

GetTotal returns the Total field if non-nil, zero value otherwise.

GetTotalOk

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.

SetTotal

func (o *GetProfile200ResponseReferrals) SetTotal(v int32)

SetTotal sets Total field to given value.

HasTotal

func (o *GetProfile200ResponseReferrals) HasTotal() bool

HasTotal returns a boolean if a field has been set.

GetUrl

func (o *GetProfile200ResponseReferrals) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

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.

SetUrl

func (o *GetProfile200ResponseReferrals) SetUrl(v string)

SetUrl sets Url field to given value.

HasUrl

func (o *GetProfile200ResponseReferrals) HasUrl() bool

HasUrl returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]