Class: Group
- Inherits:
-
Object
- Object
- Group
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/workspace_model_types.rb
Constant Summary collapse
- GROUPNAME =
1
- DESCRIPTION =
2
- FIELDS =
{ GROUPNAME => {:type => ::Thrift::Types::STRING, :name => 'groupName'}, DESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'description', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
42 |
# File 'lib/workspace_model_types.rb', line 42 def struct_fields; FIELDS; end |
#validate ⇒ Object
44 45 46 |
# File 'lib/workspace_model_types.rb', line 44 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field groupName is unset!') unless @groupName end |