Class: Airavata::GetExperimentStatistics_args
- Inherits:
-
Object
- Object
- Airavata::GetExperimentStatistics_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- GATEWAYID =
2
- FROMTIME =
3
- TOTIME =
4
- USERNAME =
5
- APPLICATIONNAME =
6
- RESOURCEHOSTNAME =
7
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayId'}, FROMTIME => {:type => ::Thrift::Types::I64, :name => 'fromTime'}, TOTIME => {:type => ::Thrift::Types::I64, :name => 'toTime'}, USERNAME => {:type => ::Thrift::Types::STRING, :name => 'userName'}, APPLICATIONNAME => {:type => ::Thrift::Types::STRING, :name => 'applicationName'}, RESOURCEHOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'resourceHostName'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
8142 |
# File 'lib/airavata.rb', line 8142 def struct_fields; FIELDS; end |
#validate ⇒ Object
8144 8145 8146 8147 8148 8149 |
# File 'lib/airavata.rb', line 8144 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 fromTime is unset!') unless @fromTime raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field toTime is unset!') unless @toTime end |