PlaceOS::Model::ApiKey::PublicResponse
Inherits YAML::Serializable < JSON::Serializable::Unmapped < JSON::Serializable < Struct < Value < Object
Constructors
new(created_at : Time, updated_at : Time, name : String, description : String, scopes : Array(PlaceOS::Model::UserJWT::Scope), expires_at : Time | Nil, user_id : String | Nil, authority_id : String | Nil, user : User | Nil, authority : Authority | Nil, x_api_key : String | Nil, permissions : PlaceOS::Model::UserJWT::Permissions | Nil, id : String | Nil, **_unknown_types)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance methods
authority
authority_id
created_at
description
expires_at
id
name
permissions
scopes
updated_at
user
user_id
x_api_key