class Radar::Api::TableCellTypes

Constants

CURRENCY
FIELDS
MARKDOWN
NUMBER
PERCENT
PERCENTAGE_POINT
TEXT

Public Class Methods

currency(val) click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 320
def currency(val)
  TableCellTypes.new(:currency, val)
end
markdown(val) click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 312
def markdown(val)
  TableCellTypes.new(:markdown, val)
end
number(val) click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 324
def number(val)
  TableCellTypes.new(:number, val)
end
percent(val) click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 316
def percent(val)
  TableCellTypes.new(:percent, val)
end
percentage_point(val) click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 328
def percentage_point(val)
  TableCellTypes.new(:percentage_point, val)
end
text(val) click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 308
def text(val)
  TableCellTypes.new(:text, val)
end

Public Instance Methods

struct_fields() click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 350
def struct_fields; FIELDS; end
validate() click to toggle source
# File gen/radar/api/portfolio_analyzer_types.rb, line 352
def validate
  raise(StandardError, 'Union fields are not set.') if get_set_field.nil? || get_value.nil?
end