Files
sdk/docs/ReferralSetCodeRequest.md

1.8 KiB

ReferralSetCodeRequest

Properties

Name Type Description Notes
Code Pointer to string Code is the custom referral code to assign to the caller's org (2-32 uppercase alphanumeric, hyphen, or underscore characters). [optional]

Methods

NewReferralSetCodeRequest

func NewReferralSetCodeRequest() *ReferralSetCodeRequest

NewReferralSetCodeRequest instantiates a new ReferralSetCodeRequest 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

NewReferralSetCodeRequestWithDefaults

func NewReferralSetCodeRequestWithDefaults() *ReferralSetCodeRequest

NewReferralSetCodeRequestWithDefaults instantiates a new ReferralSetCodeRequest 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 *ReferralSetCodeRequest) GetCode() string

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

GetCodeOk

func (o *ReferralSetCodeRequest) 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 *ReferralSetCodeRequest) SetCode(v string)

SetCode sets Code field to given value.

HasCode

func (o *ReferralSetCodeRequest) HasCode() bool

HasCode returns a boolean if a field has been set.

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