Class: PostScimV2GroupsResponse403
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PostScimV2GroupsResponse403
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
26502 26503 26504 26505 26506 26507 26508 26509 |
# File 'lib/schemas.rb', line 26502 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
26511 26512 26513 |
# File 'lib/schemas.rb', line 26511 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
26515 26516 26517 26518 26519 26520 26521 |
# File 'lib/schemas.rb', line 26515 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
26523 26524 26525 |
# File 'lib/schemas.rb', line 26523 def to_json( = nil) JSON.generate(to_dynamic, ) end |