class AsposeSlidesCloud::BubbleSeries

A bubble series.

Attributes

data_points[RW]

Gets or sets the values.

data_source_for_bubble_size_values[RW]

Data source type for Bubble size values.

number_format_of_bubble_sizes[RW]

The number format for the series bubble sizes.

Public Class Methods

attribute_map() click to toggle source

Attribute mapping from ruby-style variable name to JSON key.

Calls superclass method
# File lib/aspose_slides_cloud/models/bubble_series.rb, line 38
def self.attribute_map
  super.merge({
    :'data_points' => :'DataPoints',
    :'number_format_of_bubble_sizes' => :'NumberFormatOfBubbleSizes',
    :'data_source_for_bubble_size_values' => :'DataSourceForBubbleSizeValues',
  })
end
new(attributes = {}) click to toggle source

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Calls superclass method
# File lib/aspose_slides_cloud/models/bubble_series.rb, line 57
def initialize(attributes = {})
  super

  if attributes.has_key?(:'DataPoints')
    if (value = attributes[:'DataPoints']).is_a?(Array)
      self.data_points = value
    end
  end

  if attributes.has_key?(:'NumberFormatOfBubbleSizes')
    self.number_format_of_bubble_sizes = attributes[:'NumberFormatOfBubbleSizes']
  end

  if attributes.has_key?(:'DataSourceForBubbleSizeValues')
    self.data_source_for_bubble_size_values = attributes[:'DataSourceForBubbleSizeValues']
  end
  self.data_point_type = 'Bubble'
end
swagger_types() click to toggle source

Attribute type mapping.

Calls superclass method
# File lib/aspose_slides_cloud/models/bubble_series.rb, line 47
def self.swagger_types
  super.merge({
    :'data_points' => :'Array<BubbleChartDataPoint>',
    :'number_format_of_bubble_sizes' => :'String',
    :'data_source_for_bubble_size_values' => :'DataSource',
  })
end

Public Instance Methods

==(o) click to toggle source

Checks equality by comparing each attribute. @param [Object] Object to be compared

# File lib/aspose_slides_cloud/models/bubble_series.rb, line 92
def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      name == o.name &&
      data_source_for_series_name == o.data_source_for_series_name &&
      is_color_varied == o.is_color_varied &&
      inverted_solid_fill_color == o.inverted_solid_fill_color &&
      smooth == o.smooth &&
      plot_on_second_axis == o.plot_on_second_axis &&
      order == o.order &&
      invert_if_negative == o.invert_if_negative &&
      explosion == o.explosion &&
      marker == o.marker &&
      fill_format == o.fill_format &&
      effect_format == o.effect_format &&
      line_format == o.line_format &&
      data_point_type == o.data_point_type &&
      number_format_of_y_values == o.number_format_of_y_values &&
      number_format_of_x_values == o.number_format_of_x_values &&
      data_source_for_x_values == o.data_source_for_x_values &&
      data_source_for_y_values == o.data_source_for_y_values &&
      data_points == o.data_points &&
      number_format_of_bubble_sizes == o.number_format_of_bubble_sizes &&
      data_source_for_bubble_size_values == o.data_source_for_bubble_size_values
end
eql?(o) click to toggle source

@see the ‘==` method @param [Object] Object to be compared

# File lib/aspose_slides_cloud/models/bubble_series.rb, line 121
def eql?(o)
  self == o
end
hash() click to toggle source

Calculates hash code according to all attributes. @return [Fixnum] Hash code

# File lib/aspose_slides_cloud/models/bubble_series.rb, line 127
def hash
  [type, name, data_source_for_series_name, is_color_varied, inverted_solid_fill_color, smooth, plot_on_second_axis, order, invert_if_negative, explosion, marker, fill_format, effect_format, line_format, data_point_type, number_format_of_y_values, number_format_of_x_values, data_source_for_x_values, data_source_for_y_values, data_points, number_format_of_bubble_sizes, data_source_for_bubble_size_values].hash
end
list_invalid_properties() click to toggle source

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Calls superclass method
# File lib/aspose_slides_cloud/models/bubble_series.rb, line 78
def list_invalid_properties
  invalid_properties = super
  invalid_properties
end
valid?() click to toggle source

Check to see if the all the properties in the model are valid @return true if the model is valid

Calls superclass method
# File lib/aspose_slides_cloud/models/bubble_series.rb, line 85
def valid?
  return false if !super
  true
end