Class: GatewayGroups
- Inherits:
-
Object
- Object
- GatewayGroups
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gateway_groups_model_types.rb
Constant Summary collapse
- GATEWAYID =
1
- ADMINSGROUPID =
2
- READONLYADMINSGROUPID =
3
- DEFAULTGATEWAYUSERSGROUPID =
4
- FIELDS =
{ GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayId'}, ADMINSGROUPID => {:type => ::Thrift::Types::STRING, :name => 'adminsGroupId'}, READONLYADMINSGROUPID => {:type => ::Thrift::Types::STRING, :name => 'readOnlyAdminsGroupId'}, DEFAULTGATEWAYUSERSGROUPID => {:type => ::Thrift::Types::STRING, :name => 'defaultGatewayUsersGroupId'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
23 |
# File 'lib/gateway_groups_model_types.rb', line 23 def struct_fields; FIELDS; end |
#validate ⇒ Object
25 26 27 28 29 30 |
# File 'lib/gateway_groups_model_types.rb', line 25 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field gatewayId is unset!') unless @gatewayId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field adminsGroupId is unset!') unless @adminsGroupId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field readOnlyAdminsGroupId is unset!') unless @readOnlyAdminsGroupId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field defaultGatewayUsersGroupId is unset!') unless @defaultGatewayUsersGroupId end |