Subversion Repositories SmartDukaan

Rev

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

Rev 5553 Rev 5719
Line 22... Line 22...
22
 
22
 
23
public class PickupStore implements org.apache.thrift.TBase<PickupStore, PickupStore._Fields>, java.io.Serializable, Cloneable {
23
public class PickupStore implements org.apache.thrift.TBase<PickupStore, PickupStore._Fields>, java.io.Serializable, Cloneable {
24
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PickupStore");
24
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PickupStore");
25
 
25
 
26
  private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
26
  private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
27
  private static final org.apache.thrift.protocol.TField HOTSPOT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("hotspotId", org.apache.thrift.protocol.TType.STRING, (short)2);
27
  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)2);
28
  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)3);
28
  private static final org.apache.thrift.protocol.TField LINE1_FIELD_DESC = new org.apache.thrift.protocol.TField("line1", org.apache.thrift.protocol.TType.STRING, (short)3);
29
  private static final org.apache.thrift.protocol.TField LINE1_FIELD_DESC = new org.apache.thrift.protocol.TField("line1", org.apache.thrift.protocol.TType.STRING, (short)4);
29
  private static final org.apache.thrift.protocol.TField LINE2_FIELD_DESC = new org.apache.thrift.protocol.TField("line2", org.apache.thrift.protocol.TType.STRING, (short)4);
30
  private static final org.apache.thrift.protocol.TField LINE2_FIELD_DESC = new org.apache.thrift.protocol.TField("line2", org.apache.thrift.protocol.TType.STRING, (short)5);
30
  private static final org.apache.thrift.protocol.TField CITY_FIELD_DESC = new org.apache.thrift.protocol.TField("city", org.apache.thrift.protocol.TType.STRING, (short)5);
31
  private static final org.apache.thrift.protocol.TField CITY_FIELD_DESC = new org.apache.thrift.protocol.TField("city", org.apache.thrift.protocol.TType.STRING, (short)6);
31
  private static final org.apache.thrift.protocol.TField STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("state", org.apache.thrift.protocol.TType.STRING, (short)6);
32
  private static final org.apache.thrift.protocol.TField STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("state", org.apache.thrift.protocol.TType.STRING, (short)7);
32
  private static final org.apache.thrift.protocol.TField PIN_FIELD_DESC = new org.apache.thrift.protocol.TField("pin", org.apache.thrift.protocol.TType.STRING, (short)7);
33
  private static final org.apache.thrift.protocol.TField PIN_FIELD_DESC = new org.apache.thrift.protocol.TField("pin", org.apache.thrift.protocol.TType.STRING, (short)8);
33
  private static final org.apache.thrift.protocol.TField PHONE_FIELD_DESC = new org.apache.thrift.protocol.TField("phone", org.apache.thrift.protocol.TType.STRING, (short)8);
34
  private static final org.apache.thrift.protocol.TField PHONE_FIELD_DESC = new org.apache.thrift.protocol.TField("phone", org.apache.thrift.protocol.TType.STRING, (short)9);
34
 
35
 
35
  private long id; // required
36
  private long id; // required
-
 
37
  private String hotspotId; // required
36
  private String name; // required
38
  private String name; // required
37
  private String line1; // required
39
  private String line1; // required
38
  private String line2; // required
40
  private String line2; // required
39
  private String city; // required
41
  private String city; // required
40
  private String state; // required
42
  private String state; // required
Line 42... Line 44...
42
  private String phone; // required
44
  private String phone; // required
43
 
45
 
44
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
46
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
45
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
47
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
46
    ID((short)1, "id"),
48
    ID((short)1, "id"),
-
 
49
    HOTSPOT_ID((short)2, "hotspotId"),
47
    NAME((short)2, "name"),
50
    NAME((short)3, "name"),
48
    LINE1((short)3, "line1"),
51
    LINE1((short)4, "line1"),
49
    LINE2((short)4, "line2"),
52
    LINE2((short)5, "line2"),
50
    CITY((short)5, "city"),
53
    CITY((short)6, "city"),
51
    STATE((short)6, "state"),
54
    STATE((short)7, "state"),
52
    PIN((short)7, "pin"),
55
    PIN((short)8, "pin"),
53
    PHONE((short)8, "phone");
56
    PHONE((short)9, "phone");
54
 
57
 
55
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
58
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
56
 
59
 
57
    static {
60
    static {
58
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
61
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 65... Line 68...
65
     */
68
     */
66
    public static _Fields findByThriftId(int fieldId) {
69
    public static _Fields findByThriftId(int fieldId) {
67
      switch(fieldId) {
70
      switch(fieldId) {
68
        case 1: // ID
71
        case 1: // ID
69
          return ID;
72
          return ID;
-
 
73
        case 2: // HOTSPOT_ID
-
 
74
          return HOTSPOT_ID;
70
        case 2: // NAME
75
        case 3: // NAME
71
          return NAME;
76
          return NAME;
72
        case 3: // LINE1
77
        case 4: // LINE1
73
          return LINE1;
78
          return LINE1;
74
        case 4: // LINE2
79
        case 5: // LINE2
75
          return LINE2;
80
          return LINE2;
76
        case 5: // CITY
81
        case 6: // CITY
77
          return CITY;
82
          return CITY;
78
        case 6: // STATE
83
        case 7: // STATE
79
          return STATE;
84
          return STATE;
80
        case 7: // PIN
85
        case 8: // PIN
81
          return PIN;
86
          return PIN;
82
        case 8: // PHONE
87
        case 9: // PHONE
83
          return PHONE;
88
          return PHONE;
84
        default:
89
        default:
85
          return null;
90
          return null;
86
      }
91
      }
87
    }
92
    }
Line 127... Line 132...
127
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
132
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
128
  static {
133
  static {
129
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
134
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
130
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
135
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
131
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
136
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
137
    tmpMap.put(_Fields.HOTSPOT_ID, new org.apache.thrift.meta_data.FieldMetaData("hotspotId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
138
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
132
    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
139
    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
133
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
140
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
134
    tmpMap.put(_Fields.LINE1, new org.apache.thrift.meta_data.FieldMetaData("line1", org.apache.thrift.TFieldRequirementType.DEFAULT, 
141
    tmpMap.put(_Fields.LINE1, new org.apache.thrift.meta_data.FieldMetaData("line1", org.apache.thrift.TFieldRequirementType.DEFAULT, 
135
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
142
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
136
    tmpMap.put(_Fields.LINE2, new org.apache.thrift.meta_data.FieldMetaData("line2", org.apache.thrift.TFieldRequirementType.DEFAULT, 
143
    tmpMap.put(_Fields.LINE2, new org.apache.thrift.meta_data.FieldMetaData("line2", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 150... Line 157...
150
  public PickupStore() {
157
  public PickupStore() {
151
  }
158
  }
152
 
159
 
153
  public PickupStore(
160
  public PickupStore(
154
    long id,
161
    long id,
-
 
162
    String hotspotId,
155
    String name,
163
    String name,
156
    String line1,
164
    String line1,
157
    String line2,
165
    String line2,
158
    String city,
166
    String city,
159
    String state,
167
    String state,
Line 161... Line 169...
161
    String phone)
169
    String phone)
162
  {
170
  {
163
    this();
171
    this();
164
    this.id = id;
172
    this.id = id;
165
    setIdIsSet(true);
173
    setIdIsSet(true);
-
 
174
    this.hotspotId = hotspotId;
166
    this.name = name;
175
    this.name = name;
167
    this.line1 = line1;
176
    this.line1 = line1;
168
    this.line2 = line2;
177
    this.line2 = line2;
169
    this.city = city;
178
    this.city = city;
170
    this.state = state;
179
    this.state = state;
Line 177... Line 186...
177
   */
186
   */
178
  public PickupStore(PickupStore other) {
187
  public PickupStore(PickupStore other) {
179
    __isset_bit_vector.clear();
188
    __isset_bit_vector.clear();
180
    __isset_bit_vector.or(other.__isset_bit_vector);
189
    __isset_bit_vector.or(other.__isset_bit_vector);
181
    this.id = other.id;
190
    this.id = other.id;
-
 
191
    if (other.isSetHotspotId()) {
-
 
192
      this.hotspotId = other.hotspotId;
-
 
193
    }
182
    if (other.isSetName()) {
194
    if (other.isSetName()) {
183
      this.name = other.name;
195
      this.name = other.name;
184
    }
196
    }
185
    if (other.isSetLine1()) {
197
    if (other.isSetLine1()) {
186
      this.line1 = other.line1;
198
      this.line1 = other.line1;
Line 208... Line 220...
208
 
220
 
209
  @Override
221
  @Override
210
  public void clear() {
222
  public void clear() {
211
    setIdIsSet(false);
223
    setIdIsSet(false);
212
    this.id = 0;
224
    this.id = 0;
-
 
225
    this.hotspotId = null;
213
    this.name = null;
226
    this.name = null;
214
    this.line1 = null;
227
    this.line1 = null;
215
    this.line2 = null;
228
    this.line2 = null;
216
    this.city = null;
229
    this.city = null;
217
    this.state = null;
230
    this.state = null;
Line 239... Line 252...
239
 
252
 
240
  public void setIdIsSet(boolean value) {
253
  public void setIdIsSet(boolean value) {
241
    __isset_bit_vector.set(__ID_ISSET_ID, value);
254
    __isset_bit_vector.set(__ID_ISSET_ID, value);
242
  }
255
  }
243
 
256
 
-
 
257
  public String getHotspotId() {
-
 
258
    return this.hotspotId;
-
 
259
  }
-
 
260
 
-
 
261
  public void setHotspotId(String hotspotId) {
-
 
262
    this.hotspotId = hotspotId;
-
 
263
  }
-
 
264
 
-
 
265
  public void unsetHotspotId() {
-
 
266
    this.hotspotId = null;
-
 
267
  }
-
 
268
 
-
 
269
  /** Returns true if field hotspotId is set (has been assigned a value) and false otherwise */
-
 
270
  public boolean isSetHotspotId() {
-
 
271
    return this.hotspotId != null;
-
 
272
  }
-
 
273
 
-
 
274
  public void setHotspotIdIsSet(boolean value) {
-
 
275
    if (!value) {
-
 
276
      this.hotspotId = null;
-
 
277
    }
-
 
278
  }
-
 
279
 
244
  public String getName() {
280
  public String getName() {
245
    return this.name;
281
    return this.name;
246
  }
282
  }
247
 
283
 
248
  public void setName(String name) {
284
  public void setName(String name) {
Line 410... Line 446...
410
      } else {
446
      } else {
411
        setId((Long)value);
447
        setId((Long)value);
412
      }
448
      }
413
      break;
449
      break;
414
 
450
 
-
 
451
    case HOTSPOT_ID:
-
 
452
      if (value == null) {
-
 
453
        unsetHotspotId();
-
 
454
      } else {
-
 
455
        setHotspotId((String)value);
-
 
456
      }
-
 
457
      break;
-
 
458
 
415
    case NAME:
459
    case NAME:
416
      if (value == null) {
460
      if (value == null) {
417
        unsetName();
461
        unsetName();
418
      } else {
462
      } else {
419
        setName((String)value);
463
        setName((String)value);
Line 474... Line 518...
474
  public Object getFieldValue(_Fields field) {
518
  public Object getFieldValue(_Fields field) {
475
    switch (field) {
519
    switch (field) {
476
    case ID:
520
    case ID:
477
      return Long.valueOf(getId());
521
      return Long.valueOf(getId());
478
 
522
 
-
 
523
    case HOTSPOT_ID:
-
 
524
      return getHotspotId();
-
 
525
 
479
    case NAME:
526
    case NAME:
480
      return getName();
527
      return getName();
481
 
528
 
482
    case LINE1:
529
    case LINE1:
483
      return getLine1();
530
      return getLine1();
Line 508... Line 555...
508
    }
555
    }
509
 
556
 
510
    switch (field) {
557
    switch (field) {
511
    case ID:
558
    case ID:
512
      return isSetId();
559
      return isSetId();
-
 
560
    case HOTSPOT_ID:
-
 
561
      return isSetHotspotId();
513
    case NAME:
562
    case NAME:
514
      return isSetName();
563
      return isSetName();
515
    case LINE1:
564
    case LINE1:
516
      return isSetLine1();
565
      return isSetLine1();
517
    case LINE2:
566
    case LINE2:
Line 548... Line 597...
548
        return false;
597
        return false;
549
      if (this.id != that.id)
598
      if (this.id != that.id)
550
        return false;
599
        return false;
551
    }
600
    }
552
 
601
 
-
 
602
    boolean this_present_hotspotId = true && this.isSetHotspotId();
-
 
603
    boolean that_present_hotspotId = true && that.isSetHotspotId();
-
 
604
    if (this_present_hotspotId || that_present_hotspotId) {
-
 
605
      if (!(this_present_hotspotId && that_present_hotspotId))
-
 
606
        return false;
-
 
607
      if (!this.hotspotId.equals(that.hotspotId))
-
 
608
        return false;
-
 
609
    }
-
 
610
 
553
    boolean this_present_name = true && this.isSetName();
611
    boolean this_present_name = true && this.isSetName();
554
    boolean that_present_name = true && that.isSetName();
612
    boolean that_present_name = true && that.isSetName();
555
    if (this_present_name || that_present_name) {
613
    if (this_present_name || that_present_name) {
556
      if (!(this_present_name && that_present_name))
614
      if (!(this_present_name && that_present_name))
557
        return false;
615
        return false;
Line 637... Line 695...
637
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
695
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
638
      if (lastComparison != 0) {
696
      if (lastComparison != 0) {
639
        return lastComparison;
697
        return lastComparison;
640
      }
698
      }
641
    }
699
    }
-
 
700
    lastComparison = Boolean.valueOf(isSetHotspotId()).compareTo(typedOther.isSetHotspotId());
-
 
701
    if (lastComparison != 0) {
-
 
702
      return lastComparison;
-
 
703
    }
-
 
704
    if (isSetHotspotId()) {
-
 
705
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hotspotId, typedOther.hotspotId);
-
 
706
      if (lastComparison != 0) {
-
 
707
        return lastComparison;
-
 
708
      }
-
 
709
    }
642
    lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName());
710
    lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName());
643
    if (lastComparison != 0) {
711
    if (lastComparison != 0) {
644
      return lastComparison;
712
      return lastComparison;
645
    }
713
    }
646
    if (isSetName()) {
714
    if (isSetName()) {
Line 732... Line 800...
732
            setIdIsSet(true);
800
            setIdIsSet(true);
733
          } else { 
801
          } else { 
734
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
802
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
735
          }
803
          }
736
          break;
804
          break;
-
 
805
        case 2: // HOTSPOT_ID
-
 
806
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
807
            this.hotspotId = iprot.readString();
-
 
808
          } else { 
-
 
809
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
810
          }
-
 
811
          break;
737
        case 2: // NAME
812
        case 3: // NAME
738
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
813
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
739
            this.name = iprot.readString();
814
            this.name = iprot.readString();
740
          } else { 
815
          } else { 
741
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
816
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
742
          }
817
          }
743
          break;
818
          break;
744
        case 3: // LINE1
819
        case 4: // LINE1
745
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
820
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
746
            this.line1 = iprot.readString();
821
            this.line1 = iprot.readString();
747
          } else { 
822
          } else { 
748
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
823
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
749
          }
824
          }
750
          break;
825
          break;
751
        case 4: // LINE2
826
        case 5: // LINE2
752
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
827
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
753
            this.line2 = iprot.readString();
828
            this.line2 = iprot.readString();
754
          } else { 
829
          } else { 
755
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
830
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
756
          }
831
          }
757
          break;
832
          break;
758
        case 5: // CITY
833
        case 6: // CITY
759
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
834
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
760
            this.city = iprot.readString();
835
            this.city = iprot.readString();
761
          } else { 
836
          } else { 
762
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
837
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
763
          }
838
          }
764
          break;
839
          break;
765
        case 6: // STATE
840
        case 7: // STATE
766
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
841
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
767
            this.state = iprot.readString();
842
            this.state = iprot.readString();
768
          } else { 
843
          } else { 
769
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
844
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
770
          }
845
          }
771
          break;
846
          break;
772
        case 7: // PIN
847
        case 8: // PIN
773
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
848
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
774
            this.pin = iprot.readString();
849
            this.pin = iprot.readString();
775
          } else { 
850
          } else { 
776
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
851
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
777
          }
852
          }
778
          break;
853
          break;
779
        case 8: // PHONE
854
        case 9: // PHONE
780
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
855
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
781
            this.phone = iprot.readString();
856
            this.phone = iprot.readString();
782
          } else { 
857
          } else { 
783
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
858
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
784
          }
859
          }
Line 797... Line 872...
797
 
872
 
798
    oprot.writeStructBegin(STRUCT_DESC);
873
    oprot.writeStructBegin(STRUCT_DESC);
799
    oprot.writeFieldBegin(ID_FIELD_DESC);
874
    oprot.writeFieldBegin(ID_FIELD_DESC);
800
    oprot.writeI64(this.id);
875
    oprot.writeI64(this.id);
801
    oprot.writeFieldEnd();
876
    oprot.writeFieldEnd();
-
 
877
    if (this.hotspotId != null) {
-
 
878
      oprot.writeFieldBegin(HOTSPOT_ID_FIELD_DESC);
-
 
879
      oprot.writeString(this.hotspotId);
-
 
880
      oprot.writeFieldEnd();
-
 
881
    }
802
    if (this.name != null) {
882
    if (this.name != null) {
803
      oprot.writeFieldBegin(NAME_FIELD_DESC);
883
      oprot.writeFieldBegin(NAME_FIELD_DESC);
804
      oprot.writeString(this.name);
884
      oprot.writeString(this.name);
805
      oprot.writeFieldEnd();
885
      oprot.writeFieldEnd();
806
    }
886
    }
Line 845... Line 925...
845
 
925
 
846
    sb.append("id:");
926
    sb.append("id:");
847
    sb.append(this.id);
927
    sb.append(this.id);
848
    first = false;
928
    first = false;
849
    if (!first) sb.append(", ");
929
    if (!first) sb.append(", ");
-
 
930
    sb.append("hotspotId:");
-
 
931
    if (this.hotspotId == null) {
-
 
932
      sb.append("null");
-
 
933
    } else {
-
 
934
      sb.append(this.hotspotId);
-
 
935
    }
-
 
936
    first = false;
-
 
937
    if (!first) sb.append(", ");
850
    sb.append("name:");
938
    sb.append("name:");
851
    if (this.name == null) {
939
    if (this.name == null) {
852
      sb.append("null");
940
      sb.append("null");
853
    } else {
941
    } else {
854
      sb.append(this.name);
942
      sb.append(this.name);