Class: GetWorkspacesWorkspaceIDGlobalVariablesResponse500
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- GetWorkspacesWorkspaceIDGlobalVariablesResponse500
- Defined in:
- lib/schemas.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_dynamic!(d) ⇒ Object
16930 16931 16932 16933 16934 16935 16936 16937 |
# File 'lib/schemas.rb', line 16930 def self.from_dynamic!(d) d = Types::Hash[d] new( detail: d["detail"], title: d["title"], get_workspaces_workspace_id_global_variables_response500_type: d["type"], ) end |
.from_json!(json) ⇒ Object
16939 16940 16941 |
# File 'lib/schemas.rb', line 16939 def self.from_json!(json) from_dynamic!(JSON.parse(json)) end |
Instance Method Details
#to_dynamic ⇒ Object
16943 16944 16945 16946 16947 16948 16949 |
# File 'lib/schemas.rb', line 16943 def to_dynamic { "detail" => detail, "title" => title, "type" => get_workspaces_workspace_id_global_variables_response500_type, } end |
#to_json(options = nil) ⇒ Object
16951 16952 16953 |
# File 'lib/schemas.rb', line 16951 def to_json( = nil) JSON.generate(to_dynamic, ) end |