Class: Rafflesia::SimulationNativeContactFractionTableRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  backend: :backend,
  database: :database,
  end_frame: :end_frame,
  min_seq_sep: :min_seq_sep,
  output_format: :output_format,
  output_relation: :output_relation,
  partition_by: :partition_by,
  preview_limit: :preview_limit,
  radius_angstrom: :radius_angstrom,
  reference_frame: :reference_frame,
  reference_structure_format: :reference_structure_format,
  reference_structure_object_id: :reference_structure_object_id,
  reference_structure_path: :reference_structure_path,
  relation: :relation,
  release: :release,
  selection: :selection,
  soft_cutoff_factor: :soft_cutoff_factor,
  sort_by: :sort_by,
  start_frame: :start_frame,
  stride: :stride,
  timeout_ms: :timeout_ms,
  topology_format: :topology_format,
  topology_object_id: :topology_object_id,
  topology_path: :topology_path,
  trajectory_format: :trajectory_format,
  trajectory_manifest_object_id: :trajectory_manifest_object_id,
  trajectory_object_id: :trajectory_object_id,
  trajectory_path: :trajectory_path
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SimulationNativeContactFractionTableRequest

Returns a new instance of SimulationNativeContactFractionTableRequest.



69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 69

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @backend = hash[:backend]
  @database = hash[:database]
  @end_frame = hash[:end_frame]
  @min_seq_sep = hash[:min_seq_sep]
  @output_format = hash[:output_format]
  @output_relation = hash[:output_relation]
  @partition_by = (hash[:partition_by] || [])
  @preview_limit = hash[:preview_limit]
  @radius_angstrom = hash[:radius_angstrom]
  @reference_frame = hash[:reference_frame]
  @reference_structure_format = hash[:reference_structure_format]
  @reference_structure_object_id = hash[:reference_structure_object_id]
  @reference_structure_path = hash[:reference_structure_path]
  @relation = hash[:relation]
  @release = hash[:release]
  @selection = hash[:selection]
  @soft_cutoff_factor = hash[:soft_cutoff_factor]
  @sort_by = (hash[:sort_by] || [])
  @start_frame = hash[:start_frame]
  @stride = hash[:stride]
  @timeout_ms = hash[:timeout_ms]
  @topology_format = hash[:topology_format]
  @topology_object_id = hash[:topology_object_id]
  @topology_path = hash[:topology_path]
  @trajectory_format = hash[:trajectory_format]
  @trajectory_manifest_object_id = hash[:trajectory_manifest_object_id]
  @trajectory_object_id = hash[:trajectory_object_id]
  @trajectory_path = hash[:trajectory_path]
end

Instance Attribute Details

#backendObject

Returns the value of attribute backend.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def backend
  @backend
end

#databaseObject

Returns the value of attribute database.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def database
  @database
end

#end_frameObject

Returns the value of attribute end_frame.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def end_frame
  @end_frame
end

#min_seq_sepObject

Returns the value of attribute min_seq_sep.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def min_seq_sep
  @min_seq_sep
end

#output_formatObject

Returns the value of attribute output_format.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def output_format
  @output_format
end

#output_relationObject

Returns the value of attribute output_relation.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def output_relation
  @output_relation
end

#partition_byObject

Returns the value of attribute partition_by.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def partition_by
  @partition_by
end

#preview_limitObject

Returns the value of attribute preview_limit.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def preview_limit
  @preview_limit
end

#radius_angstromObject

Returns the value of attribute radius_angstrom.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def radius_angstrom
  @radius_angstrom
end

#reference_frameObject

Returns the value of attribute reference_frame.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def reference_frame
  @reference_frame
end

#reference_structure_formatObject

Returns the value of attribute reference_structure_format.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def reference_structure_format
  @reference_structure_format
end

#reference_structure_object_idObject

Returns the value of attribute reference_structure_object_id.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def reference_structure_object_id
  @reference_structure_object_id
end

#reference_structure_pathObject

Returns the value of attribute reference_structure_path.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def reference_structure_path
  @reference_structure_path
end

#relationObject

Returns the value of attribute relation.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def relation
  @relation
end

#releaseObject

Returns the value of attribute release.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def release
  @release
end

#selectionObject

Returns the value of attribute selection.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def selection
  @selection
end

#soft_cutoff_factorObject

Returns the value of attribute soft_cutoff_factor.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def soft_cutoff_factor
  @soft_cutoff_factor
end

#sort_byObject

Returns the value of attribute sort_by.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def sort_by
  @sort_by
end

#start_frameObject

Returns the value of attribute start_frame.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def start_frame
  @start_frame
end

#strideObject

Returns the value of attribute stride.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def stride
  @stride
end

#timeout_msObject

Returns the value of attribute timeout_ms.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def timeout_ms
  @timeout_ms
end

#topology_formatObject

Returns the value of attribute topology_format.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def topology_format
  @topology_format
end

#topology_object_idObject

Returns the value of attribute topology_object_id.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def topology_object_id
  @topology_object_id
end

#topology_pathObject

Returns the value of attribute topology_path.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def topology_path
  @topology_path
end

#trajectory_formatObject

Returns the value of attribute trajectory_format.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def trajectory_format
  @trajectory_format
end

#trajectory_manifest_object_idObject

Returns the value of attribute trajectory_manifest_object_id.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def trajectory_manifest_object_id
  @trajectory_manifest_object_id
end

#trajectory_object_idObject

Returns the value of attribute trajectory_object_id.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def trajectory_object_id
  @trajectory_object_id
end

#trajectory_pathObject

Returns the value of attribute trajectory_path.



39
40
41
# File 'lib/rafflesia/simulations/simulation_native_contact_fraction_table_request.rb', line 39

def trajectory_path
  @trajectory_path
end