class ShowcaseRequest

Constants

CONTINUATIONTOKEN
DEMOGRAPHICTYPE
FIELDS
LIMIT
PRODUCTRESOURCETYPES
PRODUCTTYPE
SHOWCASETYPE
SUBTYPE

Public Instance Methods

struct_fields() click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 10573
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 10575
def validate
  unless @productType.nil? || ::P0_a_a_b_a_a_t1::VALID_VALUES.include?(@productType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field productType!')
  end
  unless @showcaseType.nil? || ::P0_a_a_b_a_a_w2::VALID_VALUES.include?(@showcaseType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field showcaseType!')
  end
  unless @subType.nil? || ::P0_a_a_b_a_a_t3::VALID_VALUES.include?(@subType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field subType!')
  end
end