struct

CB::Model::AccessToken

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(pull : JSON::PullParser)
new(access_token : String = "", account_id : String = "", api_key_id : String = "", created_at : Time = Time::ZERO, expires_at : Time = Time::ZERO, expires_in : Int32 = 0, id : String = "", token_type : String = "bearer")
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

access_token
account_id
api_key_id
clone
copy_with(access_token _access_token = @access_token, account_id _account_id = @account_id, api_key_id _api_key_id = @api_key_id, created_at _created_at = @created_at, expires_at _expires_at = @expires_at, expires_in _expires_in = @expires_in, id _id = @id, token_type _token_type = @token_type)
created_at
expires_at
expires_in
id
token_type