Class: DynamicHomeNativeRequest
- Inherits:
-
Object
- Object
- DynamicHomeNativeRequest
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/linerb/gen-rb/takagi_chan_types.rb,
lib/linerb/gen-rb/takagi_chan_types.rb
Constant Summary collapse
- PRODUCTTYPE =
1
- FIELDS =
{ PRODUCTTYPE => {:type => ::Thrift::Types::I32, :name => 'productType', :enum_class => ::J0_a_a_b_a_a_z1} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
11028 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11028 def struct_fields; FIELDS; end |
#validate ⇒ Object
11030 11031 11032 11033 11034 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11030 def validate unless @productType.nil? || ::J0_a_a_b_a_a_z1::VALID_VALUES.include?(@productType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field productType!') end end |