Subversion Repositories SmartDukaan

Rev

Rev 5767 | Rev 6524 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5767 Rev 6322
Line 148... Line 148...
148
    Parameters:
148
    Parameters:
149
     - hotspotId
149
     - hotspotId
150
    """
150
    """
151
    pass
151
    pass
152
 
152
 
-
 
153
  def addPincode(self, providerId, pincode, destCode, exp, cod, stationType):
-
 
154
    """
-
 
155
    Parameters:
-
 
156
     - providerId
-
 
157
     - pincode
-
 
158
     - destCode
-
 
159
     - exp
-
 
160
     - cod
-
 
161
     - stationType
-
 
162
    """
-
 
163
    pass
-
 
164
 
-
 
165
  def updatePincode(self, providerId, pincode, exp, cod):
-
 
166
    """
-
 
167
    Parameters:
-
 
168
     - providerId
-
 
169
     - pincode
-
 
170
     - exp
-
 
171
     - cod
-
 
172
    """
-
 
173
    pass
-
 
174
 
153
 
175
 
154
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
176
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
155
  def __init__(self, iprot, oprot=None):
177
  def __init__(self, iprot, oprot=None):
156
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
178
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
157
 
179
 
Line 634... Line 656...
634
    self._iprot.readMessageEnd()
656
    self._iprot.readMessageEnd()
635
    if result.success is not None:
657
    if result.success is not None:
636
      return result.success
658
      return result.success
637
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPickupStoreByHotspotId failed: unknown result");
659
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPickupStoreByHotspotId failed: unknown result");
638
 
660
 
-
 
661
  def addPincode(self, providerId, pincode, destCode, exp, cod, stationType):
-
 
662
    """
-
 
663
    Parameters:
-
 
664
     - providerId
-
 
665
     - pincode
-
 
666
     - destCode
-
 
667
     - exp
-
 
668
     - cod
-
 
669
     - stationType
-
 
670
    """
-
 
671
    self.send_addPincode(providerId, pincode, destCode, exp, cod, stationType)
-
 
672
    self.recv_addPincode()
-
 
673
 
-
 
674
  def send_addPincode(self, providerId, pincode, destCode, exp, cod, stationType):
-
 
675
    self._oprot.writeMessageBegin('addPincode', TMessageType.CALL, self._seqid)
-
 
676
    args = addPincode_args()
-
 
677
    args.providerId = providerId
-
 
678
    args.pincode = pincode
-
 
679
    args.destCode = destCode
-
 
680
    args.exp = exp
-
 
681
    args.cod = cod
-
 
682
    args.stationType = stationType
-
 
683
    args.write(self._oprot)
-
 
684
    self._oprot.writeMessageEnd()
-
 
685
    self._oprot.trans.flush()
-
 
686
 
-
 
687
  def recv_addPincode(self, ):
-
 
688
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
689
    if mtype == TMessageType.EXCEPTION:
-
 
690
      x = TApplicationException()
-
 
691
      x.read(self._iprot)
-
 
692
      self._iprot.readMessageEnd()
-
 
693
      raise x
-
 
694
    result = addPincode_result()
-
 
695
    result.read(self._iprot)
-
 
696
    self._iprot.readMessageEnd()
-
 
697
    return
-
 
698
 
-
 
699
  def updatePincode(self, providerId, pincode, exp, cod):
-
 
700
    """
-
 
701
    Parameters:
-
 
702
     - providerId
-
 
703
     - pincode
-
 
704
     - exp
-
 
705
     - cod
-
 
706
    """
-
 
707
    self.send_updatePincode(providerId, pincode, exp, cod)
-
 
708
    self.recv_updatePincode()
-
 
709
 
-
 
710
  def send_updatePincode(self, providerId, pincode, exp, cod):
-
 
711
    self._oprot.writeMessageBegin('updatePincode', TMessageType.CALL, self._seqid)
-
 
712
    args = updatePincode_args()
-
 
713
    args.providerId = providerId
-
 
714
    args.pincode = pincode
-
 
715
    args.exp = exp
-
 
716
    args.cod = cod
-
 
717
    args.write(self._oprot)
-
 
718
    self._oprot.writeMessageEnd()
-
 
719
    self._oprot.trans.flush()
-
 
720
 
-
 
721
  def recv_updatePincode(self, ):
-
 
722
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
723
    if mtype == TMessageType.EXCEPTION:
-
 
724
      x = TApplicationException()
-
 
725
      x.read(self._iprot)
-
 
726
      self._iprot.readMessageEnd()
-
 
727
      raise x
-
 
728
    result = updatePincode_result()
-
 
729
    result.read(self._iprot)
-
 
730
    self._iprot.readMessageEnd()
-
 
731
    return
-
 
732
 
639
 
733
 
640
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
734
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
641
  def __init__(self, handler):
735
  def __init__(self, handler):
642
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
736
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
643
    self._processMap["getProvider"] = Processor.process_getProvider
737
    self._processMap["getProvider"] = Processor.process_getProvider
Line 652... Line 746...
652
    self._processMap["getEntityLogisticsEstimation"] = Processor.process_getEntityLogisticsEstimation
746
    self._processMap["getEntityLogisticsEstimation"] = Processor.process_getEntityLogisticsEstimation
653
    self._processMap["getProviderForPickupType"] = Processor.process_getProviderForPickupType
747
    self._processMap["getProviderForPickupType"] = Processor.process_getProviderForPickupType
654
    self._processMap["getAllPickupStores"] = Processor.process_getAllPickupStores
748
    self._processMap["getAllPickupStores"] = Processor.process_getAllPickupStores
655
    self._processMap["getPickupStore"] = Processor.process_getPickupStore
749
    self._processMap["getPickupStore"] = Processor.process_getPickupStore
656
    self._processMap["getPickupStoreByHotspotId"] = Processor.process_getPickupStoreByHotspotId
750
    self._processMap["getPickupStoreByHotspotId"] = Processor.process_getPickupStoreByHotspotId
-
 
751
    self._processMap["addPincode"] = Processor.process_addPincode
-
 
752
    self._processMap["updatePincode"] = Processor.process_updatePincode
657
 
753
 
658
  def process(self, iprot, oprot):
754
  def process(self, iprot, oprot):
659
    (name, type, seqid) = iprot.readMessageBegin()
755
    (name, type, seqid) = iprot.readMessageBegin()
660
    if name not in self._processMap:
756
    if name not in self._processMap:
661
      iprot.skip(TType.STRUCT)
757
      iprot.skip(TType.STRUCT)
Line 846... Line 942...
846
    oprot.writeMessageBegin("getPickupStoreByHotspotId", TMessageType.REPLY, seqid)
942
    oprot.writeMessageBegin("getPickupStoreByHotspotId", TMessageType.REPLY, seqid)
847
    result.write(oprot)
943
    result.write(oprot)
848
    oprot.writeMessageEnd()
944
    oprot.writeMessageEnd()
849
    oprot.trans.flush()
945
    oprot.trans.flush()
850
 
946
 
-
 
947
  def process_addPincode(self, seqid, iprot, oprot):
-
 
948
    args = addPincode_args()
-
 
949
    args.read(iprot)
-
 
950
    iprot.readMessageEnd()
-
 
951
    result = addPincode_result()
-
 
952
    self._handler.addPincode(args.providerId, args.pincode, args.destCode, args.exp, args.cod, args.stationType)
-
 
953
    oprot.writeMessageBegin("addPincode", TMessageType.REPLY, seqid)
-
 
954
    result.write(oprot)
-
 
955
    oprot.writeMessageEnd()
-
 
956
    oprot.trans.flush()
-
 
957
 
-
 
958
  def process_updatePincode(self, seqid, iprot, oprot):
-
 
959
    args = updatePincode_args()
-
 
960
    args.read(iprot)
-
 
961
    iprot.readMessageEnd()
-
 
962
    result = updatePincode_result()
-
 
963
    self._handler.updatePincode(args.providerId, args.pincode, args.exp, args.cod)
-
 
964
    oprot.writeMessageBegin("updatePincode", TMessageType.REPLY, seqid)
-
 
965
    result.write(oprot)
-
 
966
    oprot.writeMessageEnd()
-
 
967
    oprot.trans.flush()
-
 
968
 
851
 
969
 
852
# HELPER FUNCTIONS AND STRUCTURES
970
# HELPER FUNCTIONS AND STRUCTURES
853
 
971
 
854
class getProvider_args:
972
class getProvider_args:
855
  """
973
  """
Line 2757... Line 2875...
2757
    oprot.writeFieldStop()
2875
    oprot.writeFieldStop()
2758
    oprot.writeStructEnd()
2876
    oprot.writeStructEnd()
2759
 
2877
 
2760
  def validate(self):
2878
  def validate(self):
2761
    return
2879
    return
-
 
2880
 
-
 
2881
 
-
 
2882
  def __repr__(self):
-
 
2883
    L = ['%s=%r' % (key, value)
-
 
2884
      for key, value in self.__dict__.iteritems()]
-
 
2885
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
2886
 
-
 
2887
  def __eq__(self, other):
-
 
2888
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
2889
 
-
 
2890
  def __ne__(self, other):
-
 
2891
    return not (self == other)
-
 
2892
 
-
 
2893
class addPincode_args:
-
 
2894
  """
-
 
2895
  Attributes:
-
 
2896
   - providerId
-
 
2897
   - pincode
-
 
2898
   - destCode
-
 
2899
   - exp
-
 
2900
   - cod
-
 
2901
   - stationType
-
 
2902
  """
-
 
2903
 
-
 
2904
  thrift_spec = (
-
 
2905
    None, # 0
-
 
2906
    (1, TType.I64, 'providerId', None, None, ), # 1
-
 
2907
    (2, TType.STRING, 'pincode', None, None, ), # 2
-
 
2908
    (3, TType.STRING, 'destCode', None, None, ), # 3
-
 
2909
    (4, TType.BOOL, 'exp', None, None, ), # 4
-
 
2910
    (5, TType.BOOL, 'cod', None, None, ), # 5
-
 
2911
    (6, TType.I32, 'stationType', None, None, ), # 6
-
 
2912
  )
-
 
2913
 
-
 
2914
  def __init__(self, providerId=None, pincode=None, destCode=None, exp=None, cod=None, stationType=None,):
-
 
2915
    self.providerId = providerId
-
 
2916
    self.pincode = pincode
-
 
2917
    self.destCode = destCode
-
 
2918
    self.exp = exp
-
 
2919
    self.cod = cod
-
 
2920
    self.stationType = stationType
-
 
2921
 
-
 
2922
  def read(self, iprot):
-
 
2923
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
2924
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
2925
      return
-
 
2926
    iprot.readStructBegin()
-
 
2927
    while True:
-
 
2928
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
2929
      if ftype == TType.STOP:
-
 
2930
        break
-
 
2931
      if fid == 1:
-
 
2932
        if ftype == TType.I64:
-
 
2933
          self.providerId = iprot.readI64();
-
 
2934
        else:
-
 
2935
          iprot.skip(ftype)
-
 
2936
      elif fid == 2:
-
 
2937
        if ftype == TType.STRING:
-
 
2938
          self.pincode = iprot.readString();
-
 
2939
        else:
-
 
2940
          iprot.skip(ftype)
-
 
2941
      elif fid == 3:
-
 
2942
        if ftype == TType.STRING:
-
 
2943
          self.destCode = iprot.readString();
-
 
2944
        else:
-
 
2945
          iprot.skip(ftype)
-
 
2946
      elif fid == 4:
-
 
2947
        if ftype == TType.BOOL:
-
 
2948
          self.exp = iprot.readBool();
-
 
2949
        else:
-
 
2950
          iprot.skip(ftype)
-
 
2951
      elif fid == 5:
-
 
2952
        if ftype == TType.BOOL:
-
 
2953
          self.cod = iprot.readBool();
-
 
2954
        else:
-
 
2955
          iprot.skip(ftype)
-
 
2956
      elif fid == 6:
-
 
2957
        if ftype == TType.I32:
-
 
2958
          self.stationType = iprot.readI32();
-
 
2959
        else:
-
 
2960
          iprot.skip(ftype)
-
 
2961
      else:
-
 
2962
        iprot.skip(ftype)
-
 
2963
      iprot.readFieldEnd()
-
 
2964
    iprot.readStructEnd()
-
 
2965
 
-
 
2966
  def write(self, oprot):
-
 
2967
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
2968
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
2969
      return
-
 
2970
    oprot.writeStructBegin('addPincode_args')
-
 
2971
    if self.providerId is not None:
-
 
2972
      oprot.writeFieldBegin('providerId', TType.I64, 1)
-
 
2973
      oprot.writeI64(self.providerId)
-
 
2974
      oprot.writeFieldEnd()
-
 
2975
    if self.pincode is not None:
-
 
2976
      oprot.writeFieldBegin('pincode', TType.STRING, 2)
-
 
2977
      oprot.writeString(self.pincode)
-
 
2978
      oprot.writeFieldEnd()
-
 
2979
    if self.destCode is not None:
-
 
2980
      oprot.writeFieldBegin('destCode', TType.STRING, 3)
-
 
2981
      oprot.writeString(self.destCode)
-
 
2982
      oprot.writeFieldEnd()
-
 
2983
    if self.exp is not None:
-
 
2984
      oprot.writeFieldBegin('exp', TType.BOOL, 4)
-
 
2985
      oprot.writeBool(self.exp)
-
 
2986
      oprot.writeFieldEnd()
-
 
2987
    if self.cod is not None:
-
 
2988
      oprot.writeFieldBegin('cod', TType.BOOL, 5)
-
 
2989
      oprot.writeBool(self.cod)
-
 
2990
      oprot.writeFieldEnd()
-
 
2991
    if self.stationType is not None:
-
 
2992
      oprot.writeFieldBegin('stationType', TType.I32, 6)
-
 
2993
      oprot.writeI32(self.stationType)
-
 
2994
      oprot.writeFieldEnd()
-
 
2995
    oprot.writeFieldStop()
-
 
2996
    oprot.writeStructEnd()
-
 
2997
 
-
 
2998
  def validate(self):
-
 
2999
    return
-
 
3000
 
-
 
3001
 
-
 
3002
  def __repr__(self):
-
 
3003
    L = ['%s=%r' % (key, value)
-
 
3004
      for key, value in self.__dict__.iteritems()]
-
 
3005
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
3006
 
-
 
3007
  def __eq__(self, other):
-
 
3008
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
3009
 
-
 
3010
  def __ne__(self, other):
-
 
3011
    return not (self == other)
-
 
3012
 
-
 
3013
class addPincode_result:
-
 
3014
 
-
 
3015
  thrift_spec = (
-
 
3016
  )
-
 
3017
 
-
 
3018
  def read(self, iprot):
-
 
3019
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
3020
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
3021
      return
-
 
3022
    iprot.readStructBegin()
-
 
3023
    while True:
-
 
3024
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
3025
      if ftype == TType.STOP:
-
 
3026
        break
-
 
3027
      else:
-
 
3028
        iprot.skip(ftype)
-
 
3029
      iprot.readFieldEnd()
-
 
3030
    iprot.readStructEnd()
-
 
3031
 
-
 
3032
  def write(self, oprot):
-
 
3033
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
3034
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
3035
      return
-
 
3036
    oprot.writeStructBegin('addPincode_result')
-
 
3037
    oprot.writeFieldStop()
-
 
3038
    oprot.writeStructEnd()
-
 
3039
 
-
 
3040
  def validate(self):
-
 
3041
    return
-
 
3042
 
-
 
3043
 
-
 
3044
  def __repr__(self):
-
 
3045
    L = ['%s=%r' % (key, value)
-
 
3046
      for key, value in self.__dict__.iteritems()]
-
 
3047
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
3048
 
-
 
3049
  def __eq__(self, other):
-
 
3050
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
3051
 
-
 
3052
  def __ne__(self, other):
-
 
3053
    return not (self == other)
-
 
3054
 
-
 
3055
class updatePincode_args:
-
 
3056
  """
-
 
3057
  Attributes:
-
 
3058
   - providerId
-
 
3059
   - pincode
-
 
3060
   - exp
-
 
3061
   - cod
-
 
3062
  """
-
 
3063
 
-
 
3064
  thrift_spec = (
-
 
3065
    None, # 0
-
 
3066
    (1, TType.I64, 'providerId', None, None, ), # 1
-
 
3067
    (2, TType.STRING, 'pincode', None, None, ), # 2
-
 
3068
    (3, TType.BOOL, 'exp', None, None, ), # 3
-
 
3069
    (4, TType.BOOL, 'cod', None, None, ), # 4
-
 
3070
  )
-
 
3071
 
-
 
3072
  def __init__(self, providerId=None, pincode=None, exp=None, cod=None,):
-
 
3073
    self.providerId = providerId
-
 
3074
    self.pincode = pincode
-
 
3075
    self.exp = exp
-
 
3076
    self.cod = cod
-
 
3077
 
-
 
3078
  def read(self, iprot):
-
 
3079
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
3080
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
3081
      return
-
 
3082
    iprot.readStructBegin()
-
 
3083
    while True:
-
 
3084
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
3085
      if ftype == TType.STOP:
-
 
3086
        break
-
 
3087
      if fid == 1:
-
 
3088
        if ftype == TType.I64:
-
 
3089
          self.providerId = iprot.readI64();
-
 
3090
        else:
-
 
3091
          iprot.skip(ftype)
-
 
3092
      elif fid == 2:
-
 
3093
        if ftype == TType.STRING:
-
 
3094
          self.pincode = iprot.readString();
-
 
3095
        else:
-
 
3096
          iprot.skip(ftype)
-
 
3097
      elif fid == 3:
-
 
3098
        if ftype == TType.BOOL:
-
 
3099
          self.exp = iprot.readBool();
-
 
3100
        else:
-
 
3101
          iprot.skip(ftype)
-
 
3102
      elif fid == 4:
-
 
3103
        if ftype == TType.BOOL:
-
 
3104
          self.cod = iprot.readBool();
-
 
3105
        else:
-
 
3106
          iprot.skip(ftype)
-
 
3107
      else:
-
 
3108
        iprot.skip(ftype)
-
 
3109
      iprot.readFieldEnd()
-
 
3110
    iprot.readStructEnd()
-
 
3111
 
-
 
3112
  def write(self, oprot):
-
 
3113
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
3114
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
3115
      return
-
 
3116
    oprot.writeStructBegin('updatePincode_args')
-
 
3117
    if self.providerId is not None:
-
 
3118
      oprot.writeFieldBegin('providerId', TType.I64, 1)
-
 
3119
      oprot.writeI64(self.providerId)
-
 
3120
      oprot.writeFieldEnd()
-
 
3121
    if self.pincode is not None:
-
 
3122
      oprot.writeFieldBegin('pincode', TType.STRING, 2)
-
 
3123
      oprot.writeString(self.pincode)
-
 
3124
      oprot.writeFieldEnd()
-
 
3125
    if self.exp is not None:
-
 
3126
      oprot.writeFieldBegin('exp', TType.BOOL, 3)
-
 
3127
      oprot.writeBool(self.exp)
-
 
3128
      oprot.writeFieldEnd()
-
 
3129
    if self.cod is not None:
-
 
3130
      oprot.writeFieldBegin('cod', TType.BOOL, 4)
-
 
3131
      oprot.writeBool(self.cod)
-
 
3132
      oprot.writeFieldEnd()
-
 
3133
    oprot.writeFieldStop()
-
 
3134
    oprot.writeStructEnd()
-
 
3135
 
-
 
3136
  def validate(self):
-
 
3137
    return
-
 
3138
 
-
 
3139
 
-
 
3140
  def __repr__(self):
-
 
3141
    L = ['%s=%r' % (key, value)
-
 
3142
      for key, value in self.__dict__.iteritems()]
-
 
3143
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
3144
 
-
 
3145
  def __eq__(self, other):
-
 
3146
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
3147
 
-
 
3148
  def __ne__(self, other):
-
 
3149
    return not (self == other)
-
 
3150
 
-
 
3151
class updatePincode_result:
-
 
3152
 
-
 
3153
  thrift_spec = (
-
 
3154
  )
-
 
3155
 
-
 
3156
  def read(self, iprot):
-
 
3157
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
3158
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
3159
      return
-
 
3160
    iprot.readStructBegin()
-
 
3161
    while True:
-
 
3162
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
3163
      if ftype == TType.STOP:
-
 
3164
        break
-
 
3165
      else:
-
 
3166
        iprot.skip(ftype)
-
 
3167
      iprot.readFieldEnd()
-
 
3168
    iprot.readStructEnd()
-
 
3169
 
-
 
3170
  def write(self, oprot):
-
 
3171
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
3172
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
3173
      return
-
 
3174
    oprot.writeStructBegin('updatePincode_result')
-
 
3175
    oprot.writeFieldStop()
-
 
3176
    oprot.writeStructEnd()
-
 
3177
 
-
 
3178
  def validate(self):
-
 
3179
    return
2762
 
3180
 
2763
 
3181
 
2764
  def __repr__(self):
3182
  def __repr__(self):
2765
    L = ['%s=%r' % (key, value)
3183
    L = ['%s=%r' % (key, value)
2766
      for key, value in self.__dict__.iteritems()]
3184
      for key, value in self.__dict__.iteritems()]