Files
sdk/docs/AccountCsrfResp.md

2.5 KiB

AccountCsrfResp

Properties

Name Type Description Notes
CsrfToken Pointer to string Token is the value to send back in the X-CSRF-Token header. It is bound to the caller's identity, so it authorizes changes as them and as nobody else. [optional]
ExpiresIn Pointer to int64 ExpiresIn is the token's lifetime in seconds. Fetch a new one when it lapses; a change with an expired token is refused. [optional]

Methods

NewAccountCsrfResp

func NewAccountCsrfResp() *AccountCsrfResp

NewAccountCsrfResp instantiates a new AccountCsrfResp 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

NewAccountCsrfRespWithDefaults

func NewAccountCsrfRespWithDefaults() *AccountCsrfResp

NewAccountCsrfRespWithDefaults instantiates a new AccountCsrfResp 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

GetCsrfToken

func (o *AccountCsrfResp) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field if non-nil, zero value otherwise.

GetCsrfTokenOk

func (o *AccountCsrfResp) GetCsrfTokenOk() (*string, bool)

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

SetCsrfToken

func (o *AccountCsrfResp) SetCsrfToken(v string)

SetCsrfToken sets CsrfToken field to given value.

HasCsrfToken

func (o *AccountCsrfResp) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

GetExpiresIn

func (o *AccountCsrfResp) GetExpiresIn() int64

GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise.

GetExpiresInOk

func (o *AccountCsrfResp) GetExpiresInOk() (*int64, bool)

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

SetExpiresIn

func (o *AccountCsrfResp) SetExpiresIn(v int64)

SetExpiresIn sets ExpiresIn field to given value.

HasExpiresIn

func (o *AccountCsrfResp) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

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