Class: Airavata::GetGatewayStoragePreference_args
- Inherits:
-
Object
- Object
- Airavata::GetGatewayStoragePreference_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- GATEWAYID =
2
- STORAGERESOURCEID =
3
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayID'}, STORAGERESOURCEID => {:type => ::Thrift::Types::STRING, :name => 'storageResourceId'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
12681 |
# File 'lib/airavata.rb', line 12681 def struct_fields; FIELDS; end |
#validate ⇒ Object
12683 12684 12685 12686 12687 |
# File 'lib/airavata.rb', line 12683 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field authzToken is unset!') unless @authzToken raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field gatewayID is unset!') unless @gatewayID raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field storageResourceId is unset!') unless @storageResourceId end |