Class: EapLogin
- Inherits:
-
Object
- Object
- EapLogin
- 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
- TYPE =
1
- ACCESSTOKEN =
2
- FIELDS =
{ TYPE => {:type => ::Thrift::Types::I32, :name => 'type', :enum_class => ::G_a_b_z0_a_a_a_a_r}, ACCESSTOKEN => {:type => ::Thrift::Types::STRING, :name => 'accessToken'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
5859 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 5859 def struct_fields; FIELDS; end |
#validate ⇒ Object
5861 5862 5863 5864 5865 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 5861 def validate unless @type.nil? || ::G_a_b_z0_a_a_a_a_r::VALID_VALUES.include?(@type) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!') end end |