Class: TalkService::GetChatRoomBGMs_args
- Inherits:
-
Object
- Object
- TalkService::GetChatRoomBGMs_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::SET, :name => 'chatRoomMids', :element => {:type => ::Thrift::Types::STRING}}, SYNCREASON => {:type => ::Thrift::Types::I32, :name => 'syncReason', :enum_class => ::J0_a_e_a_b_rg} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
3204 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 3204 def struct_fields; FIELDS; end |
#validate ⇒ Object
3206 3207 3208 3209 3210 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 3206 def validate unless @syncReason.nil? || ::J0_a_e_a_b_rg::VALID_VALUES.include?(@syncReason) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field syncReason!') end end |