Sha256: 4268d9e28b17a7ff6dbb2453c41a7b4504ac276dd73f381166c710bd531e36f7
Contents?: true
Size: 1.58 KB
Versions: 1
Compression:
Stored size: 1.58 KB
Contents
module AsposeCellsCloud # class Top10 < BaseObject attr_accessor :is_bottom, :is_percent, :rank # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # Get or set the flag indicating whether a 'top/bottom' rule is a 'bottom' rule. '1' indicates 'bottom'. Default value is false. :'is_bottom' => :'IsBottom', # Get or set the flag indicating whether a 'top/bottom' rule is a 'top/bottom percent' rule. Default value is false. :'is_percent' => :'IsPercent', # Get or set the value of 'n' in a 'top/bottom n' conditional formatting rule. If IsPercent is true, the value must between 0 and 100. Otherwise it must between 0 and 1000. Default value is 10. :'rank' => :'Rank' } end # attribute type def self.swagger_types { :'is_bottom' => :'BOOLEAN', :'is_percent' => :'BOOLEAN', :'rank' => :'Integer' } 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[:'IsBottom'] self.is_bottom = attributes[:'IsBottom'] end if attributes[:'IsPercent'] self.is_percent = attributes[:'IsPercent'] end if attributes[:'Rank'] self.rank = attributes[:'Rank'] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aspose_cells_cloud-1.0.10 | lib/aspose_cells_cloud/models/top10.rb |