Class: Airavata::UpdateGateway_args

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

Constant Summary collapse

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

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


7075
7076
7077
7078
7079
# File 'lib/airavata.rb', line 7075

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 updatedGateway is unset!') unless @updatedGateway
end