Class: GetScimV2GroupsResponse403
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2GroupsResponse403
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
14701 14702 14703 14704 14705 14706 14707 14708 |
# File 'lib/schemas.rb', line 14701 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
14710 14711 14712 |
# File 'lib/schemas.rb', line 14710 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
14714 14715 14716 14717 14718 14719 14720 |
# File 'lib/schemas.rb', line 14714 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
14722 14723 14724 |
# File 'lib/schemas.rb', line 14722 def to_json( = nil) JSON.generate(to_dynamic, ) end |