Sha256: c88205c0643d86a819568e8c9646c35316ec3c84f6b59c9bb380923e3e21d828
Contents?: true
Size: 1.38 KB
Versions: 6
Compression:
Stored size: 1.38 KB
Contents
module AsposeCellsCloud # class TaskDescription < BaseObject attr_accessor :task_type, :import_data_task_parameter, :save_result_task_parameter # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'task_type' => :'TaskType', # :'import_data_task_parameter' => :'ImportDataTaskParameter', # :'save_result_task_parameter' => :'SaveResultTaskParameter' } end # attribute type def self.swagger_types { :'task_type' => :'String', :'import_data_task_parameter' => :'ImportDataTaskParameter', :'save_result_task_parameter' => :'SaveResultTaskParameter' } end def initialize(attributes = {}) return if !attributes.is_a?(Hash) || attributes.empty? # convert string to symbol for hash key attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} if attributes[:'TaskType'] self.task_type = attributes[:'TaskType'] end if attributes[:'ImportDataTaskParameter'] self.import_data_task_parameter = attributes[:'ImportDataTaskParameter'] end if attributes[:'SaveResultTaskParameter'] self.save_result_task_parameter = attributes[:'SaveResultTaskParameter'] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems