Class: InstantNews
- Inherits:
-
Object
- Object
- InstantNews
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/linerb/gen-rb/takagi_chan_types.rb,
lib/linerb/gen-rb/takagi_chan_types.rb
Constant Summary collapse
- NEWSID =
1- NEWSSERVICE =
2- TTLMILLIS =
3- CATEGORY =
4- CATEGORYBGCOLOR =
5- CATEGORYCOLOR =
6- TITLE =
7- URL =
8- IMAGE =
9- FIELDS =
{ NEWSID => {:type => ::Thrift::Types::I64, :name => 'newsId'}, NEWSSERVICE => {:type => ::Thrift::Types::STRING, :name => 'newsService'}, TTLMILLIS => {:type => ::Thrift::Types::I64, :name => 'ttlMillis'}, CATEGORY => {:type => ::Thrift::Types::STRING, :name => 'category'}, CATEGORYBGCOLOR => {:type => ::Thrift::Types::STRING, :name => 'categoryBgColor'}, CATEGORYCOLOR => {:type => ::Thrift::Types::STRING, :name => 'categoryColor'}, TITLE => {:type => ::Thrift::Types::STRING, :name => 'title'}, URL => {:type => ::Thrift::Types::STRING, :name => 'url'}, IMAGE => {:type => ::Thrift::Types::STRING, :name => 'image', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
17634 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 17634 def struct_fields; FIELDS; end |
#validate ⇒ Object
17636 17637 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 17636 def validate end |