Class: GetWorkspacesWorkspaceIDTagsResponse500
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetWorkspacesWorkspaceIDTagsResponse500
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 |
# File 'lib/schemas.rb', line 17692 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], instance: d["instance"], status: d["status"], title: d["title"], get_workspaces_workspace_id_tags_response500_type: d["type"], ) end |
.from_json!(json) ⇒ Object
17703 17704 17705 |
# File 'lib/schemas.rb', line 17703 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
17707 17708 17709 17710 17711 17712 17713 17714 17715 |
# File 'lib/schemas.rb', line 17707 def to_dynamic { "detail" => detail, "instance" => instance, "status" => status, "title" => title, "type" => , } end |
#to_json(options = nil) ⇒ Object
17717 17718 17719 |
# File 'lib/schemas.rb', line 17717 def to_json( = nil) JSON.generate(to_dynamic, ) end |