Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2023-07-26 00:10:28 +00:00
parent 980ca2647f
commit 03bfb94421
6 changed files with 85 additions and 2 deletions
@@ -30,6 +30,9 @@ public class CreateOrgOption implements Serializable {
@SerializedName("description")
private String description = null;
@SerializedName("email")
private String email = null;
@SerializedName("full_name")
private String fullName = null;
@@ -115,6 +118,25 @@ public class CreateOrgOption implements Serializable {
this.description = description;
}
public CreateOrgOption email(String email) {
this.email = email;
return this;
}
/**
* Get email
*
* @return email
*/
@Schema(description = "")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public CreateOrgOption fullName(String fullName) {
this.fullName = fullName;
return this;
@@ -239,6 +261,7 @@ public class CreateOrgOption implements Serializable {
}
CreateOrgOption createOrgOption = (CreateOrgOption) o;
return Objects.equals(this.description, createOrgOption.description)
&& Objects.equals(this.email, createOrgOption.email)
&& Objects.equals(this.fullName, createOrgOption.fullName)
&& Objects.equals(this.location, createOrgOption.location)
&& Objects.equals(this.repoAdminChangeTeamAccess, createOrgOption.repoAdminChangeTeamAccess)
@@ -250,7 +273,14 @@ public class CreateOrgOption implements Serializable {
@Override
public int hashCode() {
return Objects.hash(
description, fullName, location, repoAdminChangeTeamAccess, username, visibility, website);
description,
email,
fullName,
location,
repoAdminChangeTeamAccess,
username,
visibility,
website);
}
@Override
@@ -259,6 +289,7 @@ public class CreateOrgOption implements Serializable {
sb.append("class CreateOrgOption {\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n");
sb.append(" location: ").append(toIndentedString(location)).append("\n");
sb.append(" repoAdminChangeTeamAccess: ")
@@ -30,6 +30,9 @@ public class EditOrgOption implements Serializable {
@SerializedName("description")
private String description = null;
@SerializedName("email")
private String email = null;
@SerializedName("full_name")
private String fullName = null;
@@ -110,6 +113,25 @@ public class EditOrgOption implements Serializable {
this.description = description;
}
public EditOrgOption email(String email) {
this.email = email;
return this;
}
/**
* Get email
*
* @return email
*/
@Schema(description = "")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public EditOrgOption fullName(String fullName) {
this.fullName = fullName;
return this;
@@ -215,6 +237,7 @@ public class EditOrgOption implements Serializable {
}
EditOrgOption editOrgOption = (EditOrgOption) o;
return Objects.equals(this.description, editOrgOption.description)
&& Objects.equals(this.email, editOrgOption.email)
&& Objects.equals(this.fullName, editOrgOption.fullName)
&& Objects.equals(this.location, editOrgOption.location)
&& Objects.equals(this.repoAdminChangeTeamAccess, editOrgOption.repoAdminChangeTeamAccess)
@@ -225,7 +248,7 @@ public class EditOrgOption implements Serializable {
@Override
public int hashCode() {
return Objects.hash(
description, fullName, location, repoAdminChangeTeamAccess, visibility, website);
description, email, fullName, location, repoAdminChangeTeamAccess, visibility, website);
}
@Override
@@ -234,6 +257,7 @@ public class EditOrgOption implements Serializable {
sb.append("class EditOrgOption {\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n");
sb.append(" location: ").append(toIndentedString(location)).append("\n");
sb.append(" repoAdminChangeTeamAccess: ")
@@ -28,6 +28,9 @@ public class Organization implements Serializable {
@SerializedName("description")
private String description = null;
@SerializedName("email")
private String email = null;
@SerializedName("full_name")
private String fullName = null;
@@ -90,6 +93,25 @@ public class Organization implements Serializable {
this.description = description;
}
public Organization email(String email) {
this.email = email;
return this;
}
/**
* Get email
*
* @return email
*/
@Schema(description = "")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public Organization fullName(String fullName) {
this.fullName = fullName;
return this;
@@ -253,6 +275,7 @@ public class Organization implements Serializable {
Organization organization = (Organization) o;
return Objects.equals(this.avatarUrl, organization.avatarUrl)
&& Objects.equals(this.description, organization.description)
&& Objects.equals(this.email, organization.email)
&& Objects.equals(this.fullName, organization.fullName)
&& Objects.equals(this.id, organization.id)
&& Objects.equals(this.location, organization.location)
@@ -268,6 +291,7 @@ public class Organization implements Serializable {
return Objects.hash(
avatarUrl,
description,
email,
fullName,
id,
location,
@@ -285,6 +309,7 @@ public class Organization implements Serializable {
sb.append(" avatarUrl: ").append(toIndentedString(avatarUrl)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" email: ").append(toIndentedString(email)).append("\n");
sb.append(" fullName: ").append(toIndentedString(fullName)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" location: ").append(toIndentedString(location)).append("\n");