Class: TalkService::UpdateExtendedProfileAttribute_args

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

Constant Summary collapse

REQSEQ =
1
ATTR =
2
EXTENDEDPROFILE =
3
FIELDS =
{
  REQSEQ => {:type => ::Thrift::Types::I32, :name => 'reqSeq'},
  ATTR => {:type => ::Thrift::Types::I32, :name => 'attr', :enum_class => ::P0_a_e_a_b_fa},
  EXTENDEDPROFILE => {:type => ::Thrift::Types::STRUCT, :name => 'extendedProfile', :class => ::ExtendedProfile}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



2960
2961
2962
2963
2964
# File 'lib/linerb/gen-rb/talk_service.rb', line 2960

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