Class: GetScimV2GroupsResponse401
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2GroupsResponse401
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
14664 14665 14666 14667 14668 14669 14670 14671 |
# File 'lib/schemas.rb', line 14664 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
14673 14674 14675 |
# File 'lib/schemas.rb', line 14673 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
14677 14678 14679 14680 14681 14682 14683 |
# File 'lib/schemas.rb', line 14677 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
14685 14686 14687 |
# File 'lib/schemas.rb', line 14685 def to_json( = nil) JSON.generate(to_dynamic, ) end |