Class: Airavata::RemoveParsingTemplate_args

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

Constant Summary collapse

AUTHZTOKEN =
1
TEMPLATEID =
2
GATEWAYID =
3
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  TEMPLATEID => {:type => ::Thrift::Types::STRING, :name => 'templateId'},
  GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayId'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


15696
15697
15698
15699
15700
# File 'lib/airavata.rb', line 15696

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