Class: PutCollectionsCollectionIDResponse401Error
- Inherits:
- 
      Dry::Struct
      
        - Object
- Dry::Struct
- PutCollectionsCollectionIDResponse401Error
 
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
| 30680 30681 30682 30683 30684 30685 30686 | # File 'lib/schemas.rb', line 30680 def self.from_dynamic!(d) d = Types::Hash[d] new( message: d["message"], put_collections_collection_id_response401_error_name: d["name"], ) end | 
.from_json!(json) ⇒ Object
| 30688 30689 30690 | # File 'lib/schemas.rb', line 30688 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end | 
Instance Method Details
#to_dynamic ⇒ Object
| 30692 30693 30694 30695 30696 30697 | # File 'lib/schemas.rb', line 30692 def to_dynamic { "message" => , "name" => put_collections_collection_id_response401_error_name, } end | 
#to_json(options = nil) ⇒ Object
| 30699 30700 30701 | # File 'lib/schemas.rb', line 30699 def to_json( = nil) JSON.generate(to_dynamic, ) end |