@@ -37,9 +37,17 @@ public class TrackingCategory {
3737 private UUID trackingCategoryID ;
3838
3939
40+ @ JsonProperty ("TrackingOptionID" )
41+ private UUID trackingOptionID ;
42+
43+
4044 @ JsonProperty ("Name" )
4145 private String name ;
4246
47+
48+ @ JsonProperty ("Option" )
49+ private String option ;
50+
4351 /**
4452 * The status of a tracking category
4553 */
@@ -89,10 +97,10 @@ public TrackingCategory trackingCategoryID(UUID trackingCategoryID) {
8997 }
9098
9199 /**
92- * The Xero identifier for a tracking categorye .g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9
100+ * The Xero identifier for a tracking category e .g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9
93101 * @return trackingCategoryID
94102 **/
95- @ ApiModelProperty (value = "The Xero identifier for a tracking categorye .g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9" )
103+ @ ApiModelProperty (value = "The Xero identifier for a tracking category e .g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9" )
96104 public UUID getTrackingCategoryID () {
97105 return trackingCategoryID ;
98106 }
@@ -101,6 +109,24 @@ public void setTrackingCategoryID(UUID trackingCategoryID) {
101109 this .trackingCategoryID = trackingCategoryID ;
102110 }
103111
112+ public TrackingCategory trackingOptionID (UUID trackingOptionID ) {
113+ this .trackingOptionID = trackingOptionID ;
114+ return this ;
115+ }
116+
117+ /**
118+ * The Xero identifier for a tracking option e.g. dc54c220-0140-495a-b925-3246adc0075f
119+ * @return trackingOptionID
120+ **/
121+ @ ApiModelProperty (value = "The Xero identifier for a tracking option e.g. dc54c220-0140-495a-b925-3246adc0075f" )
122+ public UUID getTrackingOptionID () {
123+ return trackingOptionID ;
124+ }
125+
126+ public void setTrackingOptionID (UUID trackingOptionID ) {
127+ this .trackingOptionID = trackingOptionID ;
128+ }
129+
104130 public TrackingCategory name (String name ) {
105131 this .name = name ;
106132 return this ;
@@ -119,6 +145,24 @@ public void setName(String name) {
119145 this .name = name ;
120146 }
121147
148+ public TrackingCategory option (String option ) {
149+ this .option = option ;
150+ return this ;
151+ }
152+
153+ /**
154+ * The option name of the tracking option e.g. East, West (max length = 100)
155+ * @return option
156+ **/
157+ @ ApiModelProperty (value = "The option name of the tracking option e.g. East, West (max length = 100)" )
158+ public String getOption () {
159+ return option ;
160+ }
161+
162+ public void setOption (String option ) {
163+ this .option = option ;
164+ }
165+
122166 public TrackingCategory status (StatusEnum status ) {
123167 this .status = status ;
124168 return this ;
@@ -174,14 +218,16 @@ public boolean equals(java.lang.Object o) {
174218 }
175219 TrackingCategory trackingCategory = (TrackingCategory ) o ;
176220 return Objects .equals (this .trackingCategoryID , trackingCategory .trackingCategoryID ) &&
221+ Objects .equals (this .trackingOptionID , trackingCategory .trackingOptionID ) &&
177222 Objects .equals (this .name , trackingCategory .name ) &&
223+ Objects .equals (this .option , trackingCategory .option ) &&
178224 Objects .equals (this .status , trackingCategory .status ) &&
179225 Objects .equals (this .options , trackingCategory .options );
180226 }
181227
182228 @ Override
183229 public int hashCode () {
184- return Objects .hash (trackingCategoryID , name , status , options );
230+ return Objects .hash (trackingCategoryID , trackingOptionID , name , option , status , options );
185231 }
186232
187233
@@ -191,7 +237,9 @@ public String toString() {
191237 sb .append ("class TrackingCategory {\n " );
192238
193239 sb .append (" trackingCategoryID: " ).append (toIndentedString (trackingCategoryID )).append ("\n " );
240+ sb .append (" trackingOptionID: " ).append (toIndentedString (trackingOptionID )).append ("\n " );
194241 sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
242+ sb .append (" option: " ).append (toIndentedString (option )).append ("\n " );
195243 sb .append (" status: " ).append (toIndentedString (status )).append ("\n " );
196244 sb .append (" options: " ).append (toIndentedString (options )).append ("\n " );
197245 sb .append ("}" );
0 commit comments