Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2024-07-20 00:07:55 +00:00
parent e387291fbe
commit e47509a73f
4 changed files with 69 additions and 4 deletions
+1
View File
@@ -6,3 +6,4 @@ Name | Type | Description | Notes
**confidentialClient** | **Boolean** | | [optional]
**name** | **String** | | [optional]
**redirectUris** | **List<String>** | | [optional]
**skipSecondaryAuthorization** | **Boolean** | | [optional]
+1
View File
@@ -10,3 +10,4 @@ Name | Type | Description | Notes
**id** | **Long** | | [optional]
**name** | **String** | | [optional]
**redirectUris** | **List<String>** | | [optional]
**skipSecondaryAuthorization** | **Boolean** | | [optional]
@@ -34,6 +34,9 @@ public class CreateOAuth2ApplicationOptions implements Serializable {
@SerializedName("redirect_uris")
private List<String> redirectUris = null;
@SerializedName("skip_secondary_authorization")
private Boolean skipSecondaryAuthorization = null;
public CreateOAuth2ApplicationOptions confidentialClient(Boolean confidentialClient) {
this.confidentialClient = confidentialClient;
return this;
@@ -99,6 +102,26 @@ public class CreateOAuth2ApplicationOptions implements Serializable {
this.redirectUris = redirectUris;
}
public CreateOAuth2ApplicationOptions skipSecondaryAuthorization(
Boolean skipSecondaryAuthorization) {
this.skipSecondaryAuthorization = skipSecondaryAuthorization;
return this;
}
/**
* Get skipSecondaryAuthorization
*
* @return skipSecondaryAuthorization
*/
@Schema(description = "")
public Boolean isSkipSecondaryAuthorization() {
return skipSecondaryAuthorization;
}
public void setSkipSecondaryAuthorization(Boolean skipSecondaryAuthorization) {
this.skipSecondaryAuthorization = skipSecondaryAuthorization;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
@@ -112,12 +135,15 @@ public class CreateOAuth2ApplicationOptions implements Serializable {
return Objects.equals(
this.confidentialClient, createOAuth2ApplicationOptions.confidentialClient)
&& Objects.equals(this.name, createOAuth2ApplicationOptions.name)
&& Objects.equals(this.redirectUris, createOAuth2ApplicationOptions.redirectUris);
&& Objects.equals(this.redirectUris, createOAuth2ApplicationOptions.redirectUris)
&& Objects.equals(
this.skipSecondaryAuthorization,
createOAuth2ApplicationOptions.skipSecondaryAuthorization);
}
@Override
public int hashCode() {
return Objects.hash(confidentialClient, name, redirectUris);
return Objects.hash(confidentialClient, name, redirectUris, skipSecondaryAuthorization);
}
@Override
@@ -128,6 +154,9 @@ public class CreateOAuth2ApplicationOptions implements Serializable {
sb.append(" confidentialClient: ").append(toIndentedString(confidentialClient)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" redirectUris: ").append(toIndentedString(redirectUris)).append("\n");
sb.append(" skipSecondaryAuthorization: ")
.append(toIndentedString(skipSecondaryAuthorization))
.append("\n");
sb.append("}");
return sb.toString();
}
@@ -45,6 +45,9 @@ public class OAuth2Application implements Serializable {
@SerializedName("redirect_uris")
private List<String> redirectUris = null;
@SerializedName("skip_secondary_authorization")
private Boolean skipSecondaryAuthorization = null;
public OAuth2Application clientId(String clientId) {
this.clientId = clientId;
return this;
@@ -186,6 +189,25 @@ public class OAuth2Application implements Serializable {
this.redirectUris = redirectUris;
}
public OAuth2Application skipSecondaryAuthorization(Boolean skipSecondaryAuthorization) {
this.skipSecondaryAuthorization = skipSecondaryAuthorization;
return this;
}
/**
* Get skipSecondaryAuthorization
*
* @return skipSecondaryAuthorization
*/
@Schema(description = "")
public Boolean isSkipSecondaryAuthorization() {
return skipSecondaryAuthorization;
}
public void setSkipSecondaryAuthorization(Boolean skipSecondaryAuthorization) {
this.skipSecondaryAuthorization = skipSecondaryAuthorization;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
@@ -201,13 +223,22 @@ public class OAuth2Application implements Serializable {
&& Objects.equals(this.created, oauth2Application.created)
&& Objects.equals(this.id, oauth2Application.id)
&& Objects.equals(this.name, oauth2Application.name)
&& Objects.equals(this.redirectUris, oauth2Application.redirectUris);
&& Objects.equals(this.redirectUris, oauth2Application.redirectUris)
&& Objects.equals(
this.skipSecondaryAuthorization, oauth2Application.skipSecondaryAuthorization);
}
@Override
public int hashCode() {
return Objects.hash(
clientId, clientSecret, confidentialClient, created, id, name, redirectUris);
clientId,
clientSecret,
confidentialClient,
created,
id,
name,
redirectUris,
skipSecondaryAuthorization);
}
@Override
@@ -222,6 +253,9 @@ public class OAuth2Application implements Serializable {
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" redirectUris: ").append(toIndentedString(redirectUris)).append("\n");
sb.append(" skipSecondaryAuthorization: ")
.append(toIndentedString(skipSecondaryAuthorization))
.append("\n");
sb.append("}");
return sb.toString();
}