Class: CustomDashboard

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

Overview

A structure holding the cutomized admin dashboard information.

Constant Summary collapse

AIRAVATAINTERNALUSERID =
1
EXPERIMENTID =
2
NAME =
3
DESCRIPTION =
4
PROJECT =
5
OWNER =
6
APPLICATION =
7
COMPUTERESOURCE =
8
JOBNAME =
9
JOBID =
10
JOBSTATUS =
11
JOBCREATIONTIME =
12
NOTIFICATIONSTO =
13
WORKINGDIR =
14
JOBDESCRIPTION =
15
CREATIONTIME =
16
LASTMODIFIEDTIME =
17
WALLTIME =
18
CPUCOUNT =
19
NODECOUNT =
20
QUEUE =
21
INPUTS =
22
OUTPUTS =
23
STORAGEDIR =
24
ERRORS =
25
FIELDS =
{
  AIRAVATAINTERNALUSERID => {:type => ::Thrift::Types::STRING, :name => 'airavataInternalUserId', :default => %q"DO_NOT_SET_AT_CLIENTS"},
  EXPERIMENTID => {:type => ::Thrift::Types::STRING, :name => 'experimentId', :optional => true},
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name', :optional => true},
  DESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'description', :optional => true},
  PROJECT => {:type => ::Thrift::Types::STRING, :name => 'project', :optional => true},
  OWNER => {:type => ::Thrift::Types::STRING, :name => 'owner', :optional => true},
  APPLICATION => {:type => ::Thrift::Types::STRING, :name => 'application', :optional => true},
  COMPUTERESOURCE => {:type => ::Thrift::Types::STRING, :name => 'computeResource', :optional => true},
  JOBNAME => {:type => ::Thrift::Types::STRING, :name => 'jobName', :optional => true},
  JOBID => {:type => ::Thrift::Types::STRING, :name => 'jobId', :optional => true},
  JOBSTATUS => {:type => ::Thrift::Types::STRING, :name => 'jobStatus', :optional => true},
  JOBCREATIONTIME => {:type => ::Thrift::Types::STRING, :name => 'jobCreationTime', :optional => true},
  NOTIFICATIONSTO => {:type => ::Thrift::Types::STRING, :name => 'notificationsTo', :optional => true},
  WORKINGDIR => {:type => ::Thrift::Types::STRING, :name => 'workingDir', :optional => true},
  JOBDESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'jobDescription', :optional => true},
  CREATIONTIME => {:type => ::Thrift::Types::STRING, :name => 'creationTime', :optional => true},
  LASTMODIFIEDTIME => {:type => ::Thrift::Types::STRING, :name => 'lastModifiedTime', :optional => true},
  WALLTIME => {:type => ::Thrift::Types::STRING, :name => 'wallTime', :optional => true},
  CPUCOUNT => {:type => ::Thrift::Types::STRING, :name => 'cpuCount', :optional => true},
  NODECOUNT => {:type => ::Thrift::Types::STRING, :name => 'nodeCount', :optional => true},
  QUEUE => {:type => ::Thrift::Types::STRING, :name => 'queue', :optional => true},
  INPUTS => {:type => ::Thrift::Types::STRING, :name => 'inputs', :optional => true},
  OUTPUTS => {:type => ::Thrift::Types::STRING, :name => 'outputs', :optional => true},
  STORAGEDIR => {:type => ::Thrift::Types::STRING, :name => 'storageDir', :optional => true},
  ERRORS => {:type => ::Thrift::Types::STRING, :name => 'errors', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



156
# File 'lib/user_profile_model_types.rb', line 156

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


158
159
160
# File 'lib/user_profile_model_types.rb', line 158

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field airavataInternalUserId is unset!') unless @airavataInternalUserId
end