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_c_u0_a_a_a_a_r}, ACCESSTOKEN => {:type => ::Thrift::Types::STRING, :name => 'accessToken'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
4950 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 4950 def struct_fields; FIELDS; end |
#validate ⇒ Object
4952 4953 4954 4955 4956 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 4952 def validate unless @type.nil? || ::G_a_c_u0_a_a_a_a_r::VALID_VALUES.include?(@type) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!') end end |