Class: DisconnectEapAccountRequest

Inherits:
Object
  • Object
show all
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

EAPTYPE =
1
FIELDS =
{
  EAPTYPE => {:type => ::Thrift::Types::I32, :name => 'eapType', :enum_class => ::G_a_b_z0_a_a_a_a_r}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



5773
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 5773

def struct_fields; FIELDS; end

#validateObject



5775
5776
5777
5778
5779
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 5775

def validate
  unless @eapType.nil? || ::G_a_b_z0_a_a_a_a_r::VALID_VALUES.include?(@eapType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field eapType!')
  end
end