Class: GetScimV2GroupsGroupIDResponse400
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetScimV2GroupsGroupIDResponse400
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
14249 14250 14251 14252 14253 14254 14255 14256 |
# File 'lib/schemas.rb', line 14249 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end |
.from_json!(json) ⇒ Object
14258 14259 14260 |
# File 'lib/schemas.rb', line 14258 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
14262 14263 14264 14265 14266 14267 14268 |
# File 'lib/schemas.rb', line 14262 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end |
#to_json(options = nil) ⇒ Object
14270 14271 14272 |
# File 'lib/schemas.rb', line 14270 def to_json( = nil) JSON.generate(to_dynamic, ) end |