Class: TalkService::FindAndAddContactsByMid_args
- Inherits:
-
Object
- Object
- TalkService::FindAndAddContactsByMid_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/linerb/gen-rb/talk_service.rb
Constant Summary collapse
- REQSEQ =
1
- MID =
2
- TYPE =
3
- REFERENCE =
4
- FIELDS =
{ REQSEQ => {:type => ::Thrift::Types::I32, :name => 'reqSeq'}, MID => {:type => ::Thrift::Types::STRING, :name => 'mid'}, TYPE => {:type => ::Thrift::Types::I32, :name => 'type', :enum_class => ::J0_a_e_a_b_b9}, REFERENCE => {:type => ::Thrift::Types::STRING, :name => 'reference'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
3815 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 3815 def struct_fields; FIELDS; end |
#validate ⇒ Object
3817 3818 3819 3820 3821 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 3817 def validate unless @type.nil? || ::J0_a_e_a_b_b9::VALID_VALUES.include?(@type) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!') end end |