class AutoSuggestionShowcaseRequest
Constants
- FIELDS
- PRODUCTTYPE
- SUGGESTIONTYPE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 11854 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 11856 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 @suggestionType.nil? || ::P0_a_a_b_a_a_w3::VALID_VALUES.include?(@suggestionType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field suggestionType!') end end