Class: PutScimV2UsersUserIDResponse403
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PutScimV2UsersUserIDResponse403
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
34629 34630 34631 34632 34633 34634 34635 34636 |
# File 'lib/schemas.rb', line 34629 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
34638 34639 34640 |
# File 'lib/schemas.rb', line 34638 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
34642 34643 34644 34645 34646 34647 34648 |
# File 'lib/schemas.rb', line 34642 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
34650 34651 34652 |
# File 'lib/schemas.rb', line 34650 def to_json( = nil) JSON.generate(to_dynamic, ) end |