struct PlaceOS::Model::ApiKey::PublicResponse
- PlaceOS::Model::ApiKey::PublicResponse
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
Defined in:
Constructors
- .new(created_at : Time, updated_at : Time, name : String, description : String, scopes : Array(PlaceOS::Model::UserJWT::Scope), 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, **_unknow_types)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #authority : Authority | Nil
- #authority_id : String | Nil
- #created_at : Time
- #description : String
- #id : String | Nil
- #name : String
- #permissions : PlaceOS::Model::UserJWT::Permissions | Nil
- #scopes : Array(PlaceOS::Model::UserJWT::Scope)
- #updated_at : Time
- #user : User | Nil
- #user_id : String | Nil
- #x_api_key : String | Nil
Constructor Detail
def self.new(created_at : Time, updated_at : Time, name : String, description : String, scopes : Array(PlaceOS::Model::UserJWT::Scope), 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, **_unknow_types)
#