Sha256: 38a3f5e6b33dad4a946151d5ec8eb73c862791dec2c45cd800168c1b23b8a96c
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
module AsposeCellsCloud # class SortKey < BaseObject attr_accessor :key, :sort_order, :custom_list # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'key' => :'Key', # :'sort_order' => :'SortOrder', # :'custom_list' => :'CustomList' } end # attribute type def self.swagger_types { :'key' => :'Integer', :'sort_order' => :'String', :'custom_list' => :'String' } 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[:'Key'] self.key = attributes[:'Key'] end if attributes[:'SortOrder'] self.sort_order = attributes[:'SortOrder'] end if attributes[:'CustomList'] self.custom_list = attributes[:'CustomList'] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems