Class: Airavata::RegisterReplicaLocation_args
- Inherits:
-
Object
- Object
- Airavata::RegisterReplicaLocation_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- REPLICALOCATIONMODEL =
2
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, REPLICALOCATIONMODEL => {:type => ::Thrift::Types::STRUCT, :name => 'replicaLocationModel', :class => ::DataReplicaLocationModel} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
14145 |
# File 'lib/airavata.rb', line 14145 def struct_fields; FIELDS; end |
#validate ⇒ Object
14147 14148 14149 14150 |
# File 'lib/airavata.rb', line 14147 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 replicaLocationModel is unset!') unless @replicaLocationModel end |