Class: TalkService::AcquireEncryptedAccessToken_args

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/linerb/gen-rb/talk_service.rb

Constant Summary collapse

FEATURETYPE =
2
FIELDS =
{
  FEATURETYPE => {:type => ::Thrift::Types::I32, :name => 'featureType', :enum_class => ::P0_a_e_a_b_oa}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



4667
# File 'lib/linerb/gen-rb/talk_service.rb', line 4667

def struct_fields; FIELDS; end

#validateObject



4669
4670
4671
4672
4673
# File 'lib/linerb/gen-rb/talk_service.rb', line 4669

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