Class: GetScimV2ServiceProviderConfigResponse500
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2ServiceProviderConfigResponse500
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
15325 15326 15327 15328 15329 15330 15331 15332 |
# File 'lib/schemas.rb', line 15325 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
15334 15335 15336 |
# File 'lib/schemas.rb', line 15334 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
15338 15339 15340 15341 15342 15343 15344 |
# File 'lib/schemas.rb', line 15338 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
15346 15347 15348 |
# File 'lib/schemas.rb', line 15346 def to_json( = nil) JSON.generate(to_dynamic, ) end |