Class: GetScimV2GroupsGroupIDResponse500
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2GroupsGroupIDResponse500
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
14433 14434 14435 14436 14437 14438 14439 14440 |
# File 'lib/schemas.rb', line 14433 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
14442 14443 14444 |
# File 'lib/schemas.rb', line 14442 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
14446 14447 14448 14449 14450 14451 14452 |
# File 'lib/schemas.rb', line 14446 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
14454 14455 14456 |
# File 'lib/schemas.rb', line 14454 def to_json( = nil) JSON.generate(to_dynamic, ) end |