mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-05 01:02:18 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -25,12 +25,34 @@ import java.util.Objects;
|
||||
public class CreateOAuth2ApplicationOptions implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@SerializedName("confidential_client")
|
||||
private Boolean confidentialClient = null;
|
||||
|
||||
@SerializedName("name")
|
||||
private String name = null;
|
||||
|
||||
@SerializedName("redirect_uris")
|
||||
private List<String> redirectUris = null;
|
||||
|
||||
public CreateOAuth2ApplicationOptions confidentialClient(Boolean confidentialClient) {
|
||||
this.confidentialClient = confidentialClient;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get confidentialClient
|
||||
*
|
||||
* @return confidentialClient
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public Boolean isConfidentialClient() {
|
||||
return confidentialClient;
|
||||
}
|
||||
|
||||
public void setConfidentialClient(Boolean confidentialClient) {
|
||||
this.confidentialClient = confidentialClient;
|
||||
}
|
||||
|
||||
public CreateOAuth2ApplicationOptions name(String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
@@ -87,13 +109,15 @@ public class CreateOAuth2ApplicationOptions implements Serializable {
|
||||
}
|
||||
CreateOAuth2ApplicationOptions createOAuth2ApplicationOptions =
|
||||
(CreateOAuth2ApplicationOptions) o;
|
||||
return Objects.equals(this.name, createOAuth2ApplicationOptions.name)
|
||||
return Objects.equals(
|
||||
this.confidentialClient, createOAuth2ApplicationOptions.confidentialClient)
|
||||
&& Objects.equals(this.name, createOAuth2ApplicationOptions.name)
|
||||
&& Objects.equals(this.redirectUris, createOAuth2ApplicationOptions.redirectUris);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(name, redirectUris);
|
||||
return Objects.hash(confidentialClient, name, redirectUris);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -101,6 +125,7 @@ public class CreateOAuth2ApplicationOptions implements Serializable {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class CreateOAuth2ApplicationOptions {\n");
|
||||
|
||||
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("}");
|
||||
|
||||
@@ -30,6 +30,9 @@ public class OAuth2Application implements Serializable {
|
||||
@SerializedName("client_secret")
|
||||
private String clientSecret = null;
|
||||
|
||||
@SerializedName("confidential_client")
|
||||
private Boolean confidentialClient = null;
|
||||
|
||||
@SerializedName("created")
|
||||
private Date created = null;
|
||||
|
||||
@@ -80,6 +83,25 @@ public class OAuth2Application implements Serializable {
|
||||
this.clientSecret = clientSecret;
|
||||
}
|
||||
|
||||
public OAuth2Application confidentialClient(Boolean confidentialClient) {
|
||||
this.confidentialClient = confidentialClient;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get confidentialClient
|
||||
*
|
||||
* @return confidentialClient
|
||||
*/
|
||||
@Schema(description = "")
|
||||
public Boolean isConfidentialClient() {
|
||||
return confidentialClient;
|
||||
}
|
||||
|
||||
public void setConfidentialClient(Boolean confidentialClient) {
|
||||
this.confidentialClient = confidentialClient;
|
||||
}
|
||||
|
||||
public OAuth2Application created(Date created) {
|
||||
this.created = created;
|
||||
return this;
|
||||
@@ -175,6 +197,7 @@ public class OAuth2Application implements Serializable {
|
||||
OAuth2Application oauth2Application = (OAuth2Application) o;
|
||||
return Objects.equals(this.clientId, oauth2Application.clientId)
|
||||
&& Objects.equals(this.clientSecret, oauth2Application.clientSecret)
|
||||
&& Objects.equals(this.confidentialClient, oauth2Application.confidentialClient)
|
||||
&& Objects.equals(this.created, oauth2Application.created)
|
||||
&& Objects.equals(this.id, oauth2Application.id)
|
||||
&& Objects.equals(this.name, oauth2Application.name)
|
||||
@@ -183,7 +206,8 @@ public class OAuth2Application implements Serializable {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(clientId, clientSecret, created, id, name, redirectUris);
|
||||
return Objects.hash(
|
||||
clientId, clientSecret, confidentialClient, created, id, name, redirectUris);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -193,6 +217,7 @@ public class OAuth2Application implements Serializable {
|
||||
|
||||
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
|
||||
sb.append(" clientSecret: ").append(toIndentedString(clientSecret)).append("\n");
|
||||
sb.append(" confidentialClient: ").append(toIndentedString(confidentialClient)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||
|
||||
Reference in New Issue
Block a user