Class: Airavata::UpdateApplicationDeployment_args

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/airavata.rb

Constant Summary collapse

AUTHZTOKEN =
1
APPDEPLOYMENTID =
2
APPLICATIONDEPLOYMENT =
3
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  APPDEPLOYMENTID => {:type => ::Thrift::Types::STRING, :name => 'appDeploymentId'},
  APPLICATIONDEPLOYMENT => {:type => ::Thrift::Types::STRUCT, :name => 'applicationDeployment', :class => ::ApplicationDeploymentDescription}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



9480
# File 'lib/airavata.rb', line 9480

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


9482
9483
9484
9485
9486
# File 'lib/airavata.rb', line 9482

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 appDeploymentId is unset!') unless @appDeploymentId
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field applicationDeployment is unset!') unless @applicationDeployment
end