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 => ::P0_a_e_a_b_ft} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
16449 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 16449 def struct_fields; FIELDS; end |
#validate ⇒ Object
16451 16452 16453 16454 16455 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 16451 def validate unless @userAgeType.nil? || ::P0_a_e_a_b_ft::VALID_VALUES.include?(@userAgeType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field userAgeType!') end end |