Class: PaymentCountrySettingMenu
- Inherits:
-
Object
- Object
- PaymentCountrySettingMenu
- 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 =
16
- TYPE =
1
- ORDER =
2
- IMGURL =
3
- TOUCHIMGURL =
4
- LINKURL =
5
- NAME =
6
- LINKTYPE =
7
- BADGETYPE =
8
- ANDROIDIMAGEURL =
9
- IOSIMAGEURL =
10
- ANDROIDLINKURL =
11
- ANDROIDPACKAGENAME =
12
- IOSLINKURL =
13
- ANDROIDSTOREURL =
14
- IOSSTOREURL =
15
- SEQUENCE =
17
- DISPLAYTYPE =
18
- FIELDS =
{ ID => {:type => ::Thrift::Types::I64, :name => 'id'}, TYPE => {:type => ::Thrift::Types::I32, :name => 'type', :enum_class => ::G_a_b_z0_a_d_u0}, ORDER => {:type => ::Thrift::Types::I32, :name => 'order'}, IMGURL => {:type => ::Thrift::Types::STRING, :name => 'imgUrl'}, TOUCHIMGURL => {:type => ::Thrift::Types::STRING, :name => 'touchImgUrl'}, LINKURL => {:type => ::Thrift::Types::STRING, :name => 'linkUrl'}, NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}, LINKTYPE => {:type => ::Thrift::Types::I32, :name => 'linkType', :enum_class => ::G_a_b_z0_a_d_t0}, BADGETYPE => {:type => ::Thrift::Types::I32, :name => 'badgeType', :enum_class => ::G_a_b_z0_a_d_s0}, ANDROIDIMAGEURL => {:type => ::Thrift::Types::STRING, :name => 'androidImageUrl'}, IOSIMAGEURL => {:type => ::Thrift::Types::STRING, :name => 'iosImageUrl'}, ANDROIDLINKURL => {:type => ::Thrift::Types::STRING, :name => 'androidLinkUrl'}, ANDROIDPACKAGENAME => {:type => ::Thrift::Types::STRING, :name => 'androidPackageName'}, IOSLINKURL => {:type => ::Thrift::Types::STRING, :name => 'iosLinkUrl'}, ANDROIDSTOREURL => {:type => ::Thrift::Types::STRING, :name => 'androidStoreUrl'}, IOSSTOREURL => {:type => ::Thrift::Types::STRING, :name => 'iosStoreUrl'}, SEQUENCE => {:type => ::Thrift::Types::I64, :name => 'sequence'}, DISPLAYTYPE => {:type => ::Thrift::Types::I32, :name => 'displayType', :enum_class => ::G_a_b_z0_a_d_n1} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
7450 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 7450 def struct_fields; FIELDS; end |
#validate ⇒ Object
7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 7452 def validate unless @type.nil? || ::G_a_b_z0_a_d_u0::VALID_VALUES.include?(@type) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!') end unless @linkType.nil? || ::G_a_b_z0_a_d_t0::VALID_VALUES.include?(@linkType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field linkType!') end unless @badgeType.nil? || ::G_a_b_z0_a_d_s0::VALID_VALUES.include?(@badgeType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field badgeType!') end unless @displayType.nil? || ::G_a_b_z0_a_d_n1::VALID_VALUES.include?(@displayType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field displayType!') end end |