struct CB::Model::AccessToken
- CB::Model::AccessToken
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
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")
Instance Method Summary
- #access_token : String
- #account_id : String
- #api_key_id : String
- #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 : Time
- #expires_at : Time
- #expires_in : Int32
- #id : String
- #token_type : String
Constructor Detail
def self.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")
#
Instance Method Detail
def 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)
#