Class: ShareTargetPickerResultRequest

Inherits:
Object
  • Object
show all
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

OTT =
1
LIFFID =
2
RESULTCODE =
3
RESULTDESCRIPTION =
4
FIELDS =
{
  OTT => {:type => ::Thrift::Types::STRING, :name => 'ott'},
  LIFFID => {:type => ::Thrift::Types::STRING, :name => 'liffId'},
  RESULTCODE => {:type => ::Thrift::Types::I32, :name => 'resultCode', :enum_class => ::G_a_h_e1_a_o0},
  RESULTDESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'resultDescription', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



4544
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 4544

def struct_fields; FIELDS; end

#validateObject



4546
4547
4548
4549
4550
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 4546

def validate
  unless @resultCode.nil? || ::G_a_h_e1_a_o0::VALID_VALUES.include?(@resultCode)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field resultCode!')
  end
end