24
24
import io .swagger .annotations .ApiModelProperty ;
25
25
import java .io .IOException ;
26
26
import java .util .UUID ;
27
+ import org .omg .sysml .model .ProjectDefaultBranch ;
27
28
28
29
/**
29
30
* Project
@@ -79,6 +80,10 @@ public AtTypeEnum read(final JsonReader jsonReader) throws IOException {
79
80
@ SerializedName (SERIALIZED_NAME_AT_TYPE )
80
81
private AtTypeEnum atType ;
81
82
83
+ public static final String SERIALIZED_NAME_DEFAULT_BRANCH = "defaultBranch" ;
84
+ @ SerializedName (SERIALIZED_NAME_DEFAULT_BRANCH )
85
+ private ProjectDefaultBranch defaultBranch ;
86
+
82
87
public static final String SERIALIZED_NAME_DESCRIPTION = "description" ;
83
88
@ SerializedName (SERIALIZED_NAME_DESCRIPTION )
84
89
private String description ;
@@ -115,6 +120,29 @@ public void setAtType(AtTypeEnum atType) {
115
120
}
116
121
117
122
123
+ public Project defaultBranch (ProjectDefaultBranch defaultBranch ) {
124
+
125
+ this .defaultBranch = defaultBranch ;
126
+ return this ;
127
+ }
128
+
129
+ /**
130
+ * Get defaultBranch
131
+ * @return defaultBranch
132
+ **/
133
+ @ javax .annotation .Nullable
134
+ @ ApiModelProperty (value = "" )
135
+
136
+ public ProjectDefaultBranch getDefaultBranch () {
137
+ return defaultBranch ;
138
+ }
139
+
140
+
141
+ public void setDefaultBranch (ProjectDefaultBranch defaultBranch ) {
142
+ this .defaultBranch = defaultBranch ;
143
+ }
144
+
145
+
118
146
public Project description (String description ) {
119
147
120
148
this .description = description ;
@@ -194,14 +222,15 @@ public boolean equals(java.lang.Object o) {
194
222
}
195
223
Project project = (Project ) o ;
196
224
return Objects .equals (this .atType , project .atType ) &&
225
+ Objects .equals (this .defaultBranch , project .defaultBranch ) &&
197
226
Objects .equals (this .description , project .description ) &&
198
227
Objects .equals (this .id , project .id ) &&
199
228
Objects .equals (this .name , project .name );
200
229
}
201
230
202
231
@ Override
203
232
public int hashCode () {
204
- return Objects .hash (atType , description , id , name );
233
+ return Objects .hash (atType , defaultBranch , description , id , name );
205
234
}
206
235
207
236
@@ -210,6 +239,7 @@ public String toString() {
210
239
StringBuilder sb = new StringBuilder ();
211
240
sb .append ("class Project {\n " );
212
241
sb .append (" atType: " ).append (toIndentedString (atType )).append ("\n " );
242
+ sb .append (" defaultBranch: " ).append (toIndentedString (defaultBranch )).append ("\n " );
213
243
sb .append (" description: " ).append (toIndentedString (description )).append ("\n " );
214
244
sb .append (" id: " ).append (toIndentedString (id )).append ("\n " );
215
245
sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
0 commit comments