Class: ShortcutItem

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

ID =
1
TITLE =
2
DESCR =
3
ICONPATH =
4
URL =
5
BUTTONS =
6
ACTION =
7
FIELDS =
{
  ID => {:type => ::Thrift::Types::STRING, :name => 'id'},
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title'},
  DESCR => {:type => ::Thrift::Types::STRING, :name => 'descr'},
  ICONPATH => {:type => ::Thrift::Types::STRING, :name => 'iconPath'},
  URL => {:type => ::Thrift::Types::STRING, :name => 'url'},
  BUTTONS => {:type => ::Thrift::Types::LIST, :name => 'buttons', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ShortcutButton}},
  ACTION => {:type => ::Thrift::Types::STRUCT, :name => 'action', :class => ::ShortcutButtonAction, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end