Class: BankInfo
- Inherits:
-
Object
- Object
- BankInfo
- 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
- BANKID =
1
- FINANCIALCORPID =
2
- FINANCIALCORPCODE =
3
- TYPE =
4
- NAME =
5
- IMAGEURL =
6
- NAME2 =
7
- PRECREATIONTEXT =
8
- FIELDS =
{ BANKID => {:type => ::Thrift::Types::I64, :name => 'bankId'}, FINANCIALCORPID => {:type => ::Thrift::Types::STRING, :name => 'financialCorpId'}, FINANCIALCORPCODE => {:type => ::Thrift::Types::STRING, :name => 'financialCorpCode'}, TYPE => {:type => ::Thrift::Types::I32, :name => 'type', :enum_class => ::G_a_b_z0_a_d_d}, NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}, IMAGEURL => {:type => ::Thrift::Types::STRING, :name => 'imageUrl'}, NAME2 => {:type => ::Thrift::Types::STRING, :name => 'name2'}, PRECREATIONTEXT => {:type => ::Thrift::Types::STRING, :name => 'preCreationText'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
8404 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 8404 def struct_fields; FIELDS; end |
#validate ⇒ Object
8406 8407 8408 8409 8410 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 8406 def validate unless @type.nil? || ::G_a_b_z0_a_d_d::VALID_VALUES.include?(@type) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!') end end |