Class: ShortcutButton

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
URL =
3
ICONPATH =
4
ACTION =
5
FIELDS =
{
  ID => {:type => ::Thrift::Types::STRING, :name => 'id'},
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
  URL => {:type => ::Thrift::Types::STRING, :name => 'url', :optional => true},
  ICONPATH => {:type => ::Thrift::Types::STRING, :name => 'iconPath', :optional => true},
  ACTION => {:type => ::Thrift::Types::STRUCT, :name => 'action', :class => ::ShortcutButtonAction, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end