struct PlaceOS::Model::User::AdminResponse
- PlaceOS::Model::User::AdminResponse
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
Defined in:
Constructors
- .new(created_at : Time, name : String, nickname : String | Nil, email : PlaceOS::Model::Email, phone : String | Nil, country : String | Nil, image : String | Nil, ui_theme : String | Nil, misc : String | Nil, login_name : String | Nil, staff_id : String | Nil, first_name : String | Nil, last_name : String | Nil, building : String | Nil, department : String | Nil, preferred_language : String | Nil, email_digest : String | Nil, card_number : String | Nil, deleted : Bool, groups : Array(String), sys_admin : Bool, support : Bool, login_count : Int64, last_login : Time | Nil, work_preferences : Array(PlaceOS::Model::User::WorktimePreference), work_overrides : Hash(String, PlaceOS::Model::User::WorktimePreference), authority_id : String | Nil, id : String | Nil, **_unknow_types)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #authority_id : String | Nil
- #building : String | Nil
- #card_number : String | Nil
- #country : String | Nil
- #created_at : Time
- #deleted : Bool
- #department : String | Nil
- #email : PlaceOS::Model::Email
- #email_digest : String | Nil
- #first_name : String | Nil
- #groups : Array(String)
- #id : String | Nil
- #image : String | Nil
- #last_login : Time | Nil
- #last_name : String | Nil
- #login_count : Int64
- #login_name : String | Nil
- #misc : String | Nil
- #name : String
- #nickname : String | Nil
- #phone : String | Nil
- #preferred_language : String | Nil
- #staff_id : String | Nil
- #support : Bool
- #sys_admin : Bool
- #ui_theme : String | Nil
- #work_overrides : Hash(String, PlaceOS::Model::User::WorktimePreference)
- #work_preferences : Array(PlaceOS::Model::User::WorktimePreference)
Constructor Detail
def self.new(created_at : Time, name : String, nickname : String | Nil, email : PlaceOS::Model::Email, phone : String | Nil, country : String | Nil, image : String | Nil, ui_theme : String | Nil, misc : String | Nil, login_name : String | Nil, staff_id : String | Nil, first_name : String | Nil, last_name : String | Nil, building : String | Nil, department : String | Nil, preferred_language : String | Nil, email_digest : String | Nil, card_number : String | Nil, deleted : Bool, groups : Array(String), sys_admin : Bool, support : Bool, login_count : Int64, last_login : Time | Nil, work_preferences : Array(PlaceOS::Model::User::WorktimePreference), work_overrides : Hash(String, PlaceOS::Model::User::WorktimePreference), authority_id : String | Nil, id : String | Nil, **_unknow_types)
#