Class: PutWorkspacesWorkspaceIDGlobalVariablesResponse500
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- PutWorkspacesWorkspaceIDGlobalVariablesResponse500
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
34900 34901 34902 34903 34904 34905 34906 34907 |
# File 'lib/schemas.rb', line 34900 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], title: d["title"], put_workspaces_workspace_id_global_variables_response500_type: d["type"], ) end |
.from_json!(json) ⇒ Object
34909 34910 34911 |
# File 'lib/schemas.rb', line 34909 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
34913 34914 34915 34916 34917 34918 34919 |
# File 'lib/schemas.rb', line 34913 def to_dynamic { "detail" => detail, "title" => title, "type" => put_workspaces_workspace_id_global_variables_response500_type, } end |
#to_json(options = nil) ⇒ Object
34921 34922 34923 |
# File 'lib/schemas.rb', line 34921 def to_json( = nil) JSON.generate(to_dynamic, ) end |