2424import io .swagger .annotations .ApiModelProperty ;
2525import java .io .IOException ;
2626import java .util .UUID ;
27+ import org .omg .sysml .model .ProjectDefaultBranch ;
2728
2829/**
2930 * Project
@@ -79,6 +80,10 @@ public AtTypeEnum read(final JsonReader jsonReader) throws IOException {
7980 @ SerializedName (SERIALIZED_NAME_AT_TYPE )
8081 private AtTypeEnum atType ;
8182
83+ public static final String SERIALIZED_NAME_DEFAULT_BRANCH = "defaultBranch" ;
84+ @ SerializedName (SERIALIZED_NAME_DEFAULT_BRANCH )
85+ private ProjectDefaultBranch defaultBranch ;
86+
8287 public static final String SERIALIZED_NAME_DESCRIPTION = "description" ;
8388 @ SerializedName (SERIALIZED_NAME_DESCRIPTION )
8489 private String description ;
@@ -115,6 +120,29 @@ public void setAtType(AtTypeEnum atType) {
115120 }
116121
117122
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+
118146 public Project description (String description ) {
119147
120148 this .description = description ;
@@ -194,14 +222,15 @@ public boolean equals(java.lang.Object o) {
194222 }
195223 Project project = (Project ) o ;
196224 return Objects .equals (this .atType , project .atType ) &&
225+ Objects .equals (this .defaultBranch , project .defaultBranch ) &&
197226 Objects .equals (this .description , project .description ) &&
198227 Objects .equals (this .id , project .id ) &&
199228 Objects .equals (this .name , project .name );
200229 }
201230
202231 @ Override
203232 public int hashCode () {
204- return Objects .hash (atType , description , id , name );
233+ return Objects .hash (atType , defaultBranch , description , id , name );
205234 }
206235
207236
@@ -210,6 +239,7 @@ public String toString() {
210239 StringBuilder sb = new StringBuilder ();
211240 sb .append ("class Project {\n " );
212241 sb .append (" atType: " ).append (toIndentedString (atType )).append ("\n " );
242+ sb .append (" defaultBranch: " ).append (toIndentedString (defaultBranch )).append ("\n " );
213243 sb .append (" description: " ).append (toIndentedString (description )).append ("\n " );
214244 sb .append (" id: " ).append (toIndentedString (id )).append ("\n " );
215245 sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
0 commit comments