Class: PatchScimV2GroupsGroupIDResponse401
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PatchScimV2GroupsGroupIDResponse401
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
18635 18636 18637 18638 18639 18640 18641 18642 |
# File 'lib/schemas.rb', line 18635 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
18644 18645 18646 |
# File 'lib/schemas.rb', line 18644 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
18648 18649 18650 18651 18652 18653 18654 |
# File 'lib/schemas.rb', line 18648 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
18656 18657 18658 |
# File 'lib/schemas.rb', line 18656 def to_json( = nil) JSON.generate(to_dynamic, ) end |