io.permit.sdk.openapi.models.EnvironmentUpdate 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;
/**
* EnvironmentUpdate
*
*
*
*/
@Generated("jsonschema2pojo")
public class EnvironmentUpdate {
/**
* Name
*
* The name of the environment
*
*/
@SerializedName("name")
@Expose
public String name;
/**
* Description
*
* an optional longer description of the environment
*
*/
@SerializedName("description")
@Expose
public String description;
/**
* Custom Branch Name
*
* when using gitops feature, an optional branch name for the environment
*
*/
@SerializedName("custom_branch_name")
@Expose
public String customBranchName;
public EnvironmentUpdate withName(String name) {
this.name = name;
return this;
}
public EnvironmentUpdate withDescription(String description) {
this.description = description;
return this;
}
public EnvironmentUpdate withCustomBranchName(String customBranchName) {
this.customBranchName = customBranchName;
return this;
}
}