Files
sdk/docs/LeaderboardUserOptinReq.md

2.6 KiB

LeaderboardUserOptinReq

Properties

Name Type Description Notes
Handle Pointer to string Handle is the display name shown on a listed row: 1-40 characters of letters, digits, space, dot, underscore, apostrophe or hyphen. Left empty on a listing opt-in it defaults to the caller's username. [optional]
Listed Pointer to bool Listed publishes the caller's row to other viewers of the board when true, and anonymizes it when false. [optional]

Methods

NewLeaderboardUserOptinReq

func NewLeaderboardUserOptinReq() *LeaderboardUserOptinReq

NewLeaderboardUserOptinReq instantiates a new LeaderboardUserOptinReq 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

NewLeaderboardUserOptinReqWithDefaults

func NewLeaderboardUserOptinReqWithDefaults() *LeaderboardUserOptinReq

NewLeaderboardUserOptinReqWithDefaults instantiates a new LeaderboardUserOptinReq 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

GetHandle

func (o *LeaderboardUserOptinReq) GetHandle() string

GetHandle returns the Handle field if non-nil, zero value otherwise.

GetHandleOk

func (o *LeaderboardUserOptinReq) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHandle

func (o *LeaderboardUserOptinReq) SetHandle(v string)

SetHandle sets Handle field to given value.

HasHandle

func (o *LeaderboardUserOptinReq) HasHandle() bool

HasHandle returns a boolean if a field has been set.

GetListed

func (o *LeaderboardUserOptinReq) GetListed() bool

GetListed returns the Listed field if non-nil, zero value otherwise.

GetListedOk

func (o *LeaderboardUserOptinReq) GetListedOk() (*bool, bool)

GetListedOk returns a tuple with the Listed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetListed

func (o *LeaderboardUserOptinReq) SetListed(v bool)

SetListed sets Listed field to given value.

HasListed

func (o *LeaderboardUserOptinReq) HasListed() bool

HasListed returns a boolean if a field has been set.

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