io.permit.sdk.openapi.models.PDPConfigRead__1 Maven / Gradle / Ivy
Show all versions of permit-sdk-java Show documentation
package io.permit.sdk.openapi.models;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* PDPConfigRead
*
*
*
*/
@Generated("jsonschema2pojo")
public class PDPConfigRead__1 {
/**
* Id
*
*
* (Required)
*
*/
@SerializedName("id")
@Expose
public String id;
/**
* Name
*
*
*
*/
@SerializedName("name")
@Expose
public String name;
/**
* Organization Id
*
* Unique id of the organization that the pdp_config belongs to.
* (Required)
*
*/
@SerializedName("organization_id")
@Expose
public String organizationId;
/**
* Project Id
*
* Unique id of the project that the pdp_config belongs to.
* (Required)
*
*/
@SerializedName("project_id")
@Expose
public String projectId;
/**
* Environment Id
*
* Unique id of the environment that the pdp_config belongs to.
* (Required)
*
*/
@SerializedName("environment_id")
@Expose
public String environmentId;
/**
* Client Secret
*
*
* (Required)
*
*/
@SerializedName("client_secret")
@Expose
public String clientSecret;
/**
* No args constructor for use in serialization
*
*/
public PDPConfigRead__1() {
}
/**
*
* @param organizationId
* @param environmentId
* @param clientSecret
* @param id
* @param projectId
*/
public PDPConfigRead__1(String id, String organizationId, String projectId, String environmentId, String clientSecret) {
super();
this.id = id;
this.organizationId = organizationId;
this.projectId = projectId;
this.environmentId = environmentId;
this.clientSecret = clientSecret;
}
public PDPConfigRead__1 withId(String id) {
this.id = id;
return this;
}
public PDPConfigRead__1 withName(String name) {
this.name = name;
return this;
}
public PDPConfigRead__1 withOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public PDPConfigRead__1 withProjectId(String projectId) {
this.projectId = projectId;
return this;
}
public PDPConfigRead__1 withEnvironmentId(String environmentId) {
this.environmentId = environmentId;
return this;
}
public PDPConfigRead__1 withClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
return this;
}
}