Class: GetScimV2GroupsGroupIDResponse403
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2GroupsGroupIDResponse403
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
14322 14323 14324 14325 14326 14327 14328 14329 |
# File 'lib/schemas.rb', line 14322 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
14331 14332 14333 |
# File 'lib/schemas.rb', line 14331 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
14335 14336 14337 14338 14339 14340 14341 |
# File 'lib/schemas.rb', line 14335 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
14343 14344 14345 |
# File 'lib/schemas.rb', line 14343 def to_json( = nil) JSON.generate(to_dynamic, ) end |