Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.94 KB

ServerContext.md

File metadata and controls

108 lines (59 loc) · 2.94 KB

ServerContext

Properties

Name Type Description Notes
AccessToken Pointer to string [optional]
RefreshToken Pointer to string [optional]
ServerId Pointer to string [optional]

Methods

NewServerContext

func NewServerContext() *ServerContext

NewServerContext instantiates a new ServerContext 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

NewServerContextWithDefaults

func NewServerContextWithDefaults() *ServerContext

NewServerContextWithDefaults instantiates a new ServerContext 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

GetAccessToken

func (o *ServerContext) GetAccessToken() string

GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.

GetAccessTokenOk

func (o *ServerContext) GetAccessTokenOk() (*string, bool)

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

SetAccessToken

func (o *ServerContext) SetAccessToken(v string)

SetAccessToken sets AccessToken field to given value.

HasAccessToken

func (o *ServerContext) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

GetRefreshToken

func (o *ServerContext) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field if non-nil, zero value otherwise.

GetRefreshTokenOk

func (o *ServerContext) GetRefreshTokenOk() (*string, bool)

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

SetRefreshToken

func (o *ServerContext) SetRefreshToken(v string)

SetRefreshToken sets RefreshToken field to given value.

HasRefreshToken

func (o *ServerContext) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

GetServerId

func (o *ServerContext) GetServerId() string

GetServerId returns the ServerId field if non-nil, zero value otherwise.

GetServerIdOk

func (o *ServerContext) GetServerIdOk() (*string, bool)

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

SetServerId

func (o *ServerContext) SetServerId(v string)

SetServerId sets ServerId field to given value.

HasServerId

func (o *ServerContext) HasServerId() bool

HasServerId returns a boolean if a field has been set.

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