Class: ChatRoomAnnouncementContents

Inherits:
Object
  • Object
show all
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

DISPLAYFIELDS =
1
TEXT =
2
3
THUMBNAIL =
4
CONTENTMETADATA =
5
FIELDS =
{
  DISPLAYFIELDS => {:type => ::Thrift::Types::I32, :name => 'displayFields'},
  TEXT => {:type => ::Thrift::Types::STRING, :name => 'text'},
  LINK => {:type => ::Thrift::Types::STRING, :name => 'link', :optional => true},
  THUMBNAIL => {:type => ::Thrift::Types::STRING, :name => 'thumbnail', :optional => true},
  CONTENTMETADATA => {:type => ::Thrift::Types::STRUCT, :name => 'contentMetadata', :class => ::ChatRoomAnnouncementContentMetadata, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



13184
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 13184

def struct_fields; FIELDS; end

#validateObject



13186
13187
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 13186

def validate
end