Class: GetScimV2ResourceTypesResponse500
- Inherits:
- 
      Dry::Struct
      
        - Object
- Dry::Struct
- GetScimV2ResourceTypesResponse500
 
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
| 14869 14870 14871 14872 14873 14874 14875 14876 | # File 'lib/schemas.rb', line 14869 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], schemas: d["schemas"], status: d["status"], ) end | 
.from_json!(json) ⇒ Object
| 14878 14879 14880 | # File 'lib/schemas.rb', line 14878 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end | 
Instance Method Details
#to_dynamic ⇒ Object
| 14882 14883 14884 14885 14886 14887 14888 | # File 'lib/schemas.rb', line 14882 def to_dynamic { "detail" => detail, "schemas" => schemas, "status" => status, } end | 
#to_json(options = nil) ⇒ Object
| 14890 14891 14892 | # File 'lib/schemas.rb', line 14890 def to_json( = nil) JSON.generate(to_dynamic, ) end |