class AsposeBarcodeCloud::BarcodeBuildersList

Attributes

barcode_builders[RW]
x_step[RW]
y_step[RW]

Public Class Methods

attribute_map() click to toggle source

attribute mapping from ruby-style variable name to JSON key

# File lib/aspose_barcode_cloud/models/barcode_builders_list.rb, line 6
def self.attribute_map
  {
    
    #
    :'barcode_builders' => :'BarcodeBuilders',
    
    #
    :'x_step' => :'XStep',
    
    #
    :'y_step' => :'YStep'
    
  }
end
new(attributes = {}) click to toggle source
# File lib/aspose_barcode_cloud/models/barcode_builders_list.rb, line 31
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[:'BarcodeBuilders']
    if (value = attributes[:'BarcodeBuilders']).is_a?(Array)
      self.barcode_builders = value
    end
  end
  
  if attributes[:'XStep']
    self.x_step = attributes[:'XStep']
  end
  
  if attributes[:'YStep']
    self.y_step = attributes[:'YStep']
  end
  
end
swagger_types() click to toggle source

attribute type

# File lib/aspose_barcode_cloud/models/barcode_builders_list.rb, line 22
def self.swagger_types
  {
    :'barcode_builders' => :'Array<BarcodeBuilder>',
    :'x_step' => :'Integer',
    :'y_step' => :'Integer'
    
  }
end