Class: Airavata::AddGatewayStoragePreference_args
- Inherits:
-
Object
- Object
- Airavata::AddGatewayStoragePreference_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- GATEWAYID =
2
- STORAGERESOURCEID =
3
- STORAGEPREFERENCE =
4
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayID'}, STORAGERESOURCEID => {:type => ::Thrift::Types::STRING, :name => 'storageResourceId'}, STORAGEPREFERENCE => {:type => ::Thrift::Types::STRUCT, :name => 'storagePreference', :class => ::StoragePreference} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
12586 |
# File 'lib/airavata.rb', line 12586 def struct_fields; FIELDS; end |
#validate ⇒ Object
12588 12589 12590 12591 12592 12593 |
# File 'lib/airavata.rb', line 12588 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 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field storagePreference is unset!') unless @storagePreference end |