Class: PostScimV2GroupsResponse409
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PostScimV2GroupsResponse409
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
26542 26543 26544 26545 26546 26547 26548 26549 26550 |
# File 'lib/schemas.rb', line 26542 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], scim_type: d["scimType"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
26552 26553 26554 |
# File 'lib/schemas.rb', line 26552 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
26556 26557 26558 26559 26560 26561 26562 26563 |
# File 'lib/schemas.rb', line 26556 def to_dynamic { "detail" => detail, "schemas" => schemas, "scimType" => scim_type, "status" => status, } end |
#to_json(options = nil) ⇒ Object
26565 26566 26567 |
# File 'lib/schemas.rb', line 26565 def to_json( = nil) JSON.generate(to_dynamic, ) end |