Class: HomeService
- Inherits:
-
Object
- Object
- HomeService
- 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
- SERVICEENTRYURL =
3
- STOREURL =
4
- ICONURL =
5
- PICTOGRAMICONURL =
6
- BADGEUPDATEDTIMEMILLIS =
7
- BADGETYPE =
8
- DESCRIPTION =
9
- FIELDS =
{ ID => {:type => ::Thrift::Types::I32, :name => 'id'}, TITLE => {:type => ::Thrift::Types::STRING, :name => 'title'}, SERVICEENTRYURL => {:type => ::Thrift::Types::STRING, :name => 'serviceEntryUrl'}, STOREURL => {:type => ::Thrift::Types::STRING, :name => 'storeUrl'}, ICONURL => {:type => ::Thrift::Types::STRING, :name => 'iconUrl'}, PICTOGRAMICONURL => {:type => ::Thrift::Types::STRING, :name => 'pictogramIconUrl'}, BADGEUPDATEDTIMEMILLIS => {:type => ::Thrift::Types::I64, :name => 'badgeUpdatedTimeMillis'}, BADGETYPE => {:type => ::Thrift::Types::I32, :name => 'badgeType', :enum_class => ::G_a_k0_a_a_a_c_a_a}, DESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'description'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
4909 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 4909 def struct_fields; FIELDS; end |
#validate ⇒ Object
4911 4912 4913 4914 4915 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 4911 def validate unless @badgeType.nil? || ::G_a_k0_a_a_a_c_a_a::VALID_VALUES.include?(@badgeType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field badgeType!') end end |