io.permit.sdk.openapi.models.EnvironmentCopyTarget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of permit-sdk-java Show documentation
Show all versions of permit-sdk-java Show documentation
Java SDK for Permit.io: fullstack permissions for cloud native applications
package io.permit.sdk.openapi.models;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* EnvironmentCopyTarget
*
*
*
*/
@Generated("jsonschema2pojo")
public class EnvironmentCopyTarget {
/**
* Existing
*
* Identifier of an existing environment to copy into
*
*/
@SerializedName("existing")
@Expose
public String existing;
/**
* New
*
* Description of the environment to create. This environment must not already exist.
*
*/
@SerializedName("new")
@Expose
public EnvironmentCreate _new;
public EnvironmentCopyTarget withExisting(String existing) {
this.existing = existing;
return this;
}
public EnvironmentCopyTarget withNew(EnvironmentCreate _new) {
this._new = _new;
return this;
}
}