Method: PostWorkspacesBodyWorkspace.from_dynamic!

Defined in:
lib/schemas.rb

.from_dynamic!(d) ⇒ Object



27695
27696
27697
27698
27699
27700
27701
27702
# File 'lib/schemas.rb', line 27695

def self.from_dynamic!(d)
  d = Types::Hash[d]
  new(
    description:                         d["description"],
    post_workspaces_body_workspace_name: d.fetch("name"),
    post_workspaces_body_workspace_type: d.fetch("type"),
  )
end