Class: AgeCheckDocomoResult
- Inherits:
-
Object
- Object
- AgeCheckDocomoResult
- 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
- AUTHURL =
1
- USERAGETYPE =
2
- FIELDS =
{ AUTHURL => {:type => ::Thrift::Types::STRING, :name => 'authUrl'}, USERAGETYPE => {:type => ::Thrift::Types::I32, :name => 'userAgeType', :enum_class => ::J0_a_e_a_b_gt} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
15360 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 15360 def struct_fields; FIELDS; end |
#validate ⇒ Object
15362 15363 15364 15365 15366 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 15362 def validate unless @userAgeType.nil? || ::J0_a_e_a_b_gt::VALID_VALUES.include?(@userAgeType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field userAgeType!') end end |