Class: PayStatusInfo
- Inherits:
-
Object
- Object
- PayStatusInfo
- 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
- STATUS =
1
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :enum_class => ::G_a_c_u0_a_d_z} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
6859 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 6859 def struct_fields; FIELDS; end |
#validate ⇒ Object
6861 6862 6863 6864 6865 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 6861 def validate unless @status.nil? || ::G_a_c_u0_a_d_z::VALID_VALUES.include?(@status) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field status!') end end |