Class: TalkService::GetChatRoomAnnouncementsBulk_args
- Inherits:
-
Object
- Object
- TalkService::GetChatRoomAnnouncementsBulk_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/linerb/gen-rb/talk_service.rb
Constant Summary collapse
- CHATROOMMIDS =
2- SYNCREASON =
3- FIELDS =
{ CHATROOMMIDS => {:type => ::Thrift::Types::LIST, :name => 'chatRoomMids', :element => {:type => ::Thrift::Types::STRING}}, SYNCREASON => {:type => ::Thrift::Types::I32, :name => 'syncReason', :enum_class => ::P0_a_e_a_b_sg} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
5427 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 5427 def struct_fields; FIELDS; end |
#validate ⇒ Object
5429 5430 5431 5432 5433 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 5429 def validate unless @syncReason.nil? || ::P0_a_e_a_b_sg::VALID_VALUES.include?(@syncReason) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field syncReason!') end end |