Class: Airavata::UpdateComputeResource_args
- Inherits:
-
Object
- Object
- Airavata::UpdateComputeResource_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- COMPUTERESOURCEID =
2
- COMPUTERESOURCEDESCRIPTION =
3
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, COMPUTERESOURCEID => {:type => ::Thrift::Types::STRING, :name => 'computeResourceId'}, COMPUTERESOURCEDESCRIPTION => {:type => ::Thrift::Types::STRUCT, :name => 'computeResourceDescription', :class => ::ComputeResourceDescription} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
10334 |
# File 'lib/airavata.rb', line 10334 def struct_fields; FIELDS; end |
#validate ⇒ Object
10336 10337 10338 10339 10340 |
# File 'lib/airavata.rb', line 10336 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 computeResourceId is unset!') unless @computeResourceId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field computeResourceDescription is unset!') unless @computeResourceDescription end |