Class: PatchScimV2GroupsGroupIDResponse429
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PatchScimV2GroupsGroupIDResponse429
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
18746 18747 18748 18749 18750 18751 18752 18753 |
# File 'lib/schemas.rb', line 18746 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
18755 18756 18757 |
# File 'lib/schemas.rb', line 18755 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
18759 18760 18761 18762 18763 18764 18765 |
# File 'lib/schemas.rb', line 18759 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
18767 18768 18769 |
# File 'lib/schemas.rb', line 18767 def to_json( = nil) JSON.generate(to_dynamic, ) end |