class Radar::Api::PieChart

Constants

FIELDS
SERIES
TITLE
TYPE

Public Instance Methods

struct_fields() click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 148
def struct_fields; FIELDS; end
validate() click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 150
def validate
  unless @type.nil? || ::Radar::Api::PieChartType::VALID_VALUES.include?(@type)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!')
  end
end