All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.permit.sdk.openapi.models.EnvironmentCreate Maven / Gradle / Ivy

There is a newer version: 983f46e
Show newest version

package io.permit.sdk.openapi.models;

import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;


/**
 * EnvironmentCreate
 * 

* * */ @Generated("jsonschema2pojo") public class EnvironmentCreate { /** * Key *

* A URL-friendly name of the environment (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the environment. * (Required) * */ @SerializedName("key") @Expose public String key; /** * Name *

* The name of the environment * (Required) * */ @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; /** * No args constructor for use in serialization * */ public EnvironmentCreate() { } /** * * @param name * @param key */ public EnvironmentCreate(String key, String name) { super(); this.key = key; this.name = name; } public EnvironmentCreate withKey(String key) { this.key = key; return this; } public EnvironmentCreate withName(String name) { this.name = name; return this; } public EnvironmentCreate withDescription(String description) { this.description = description; return this; } public EnvironmentCreate withCustomBranchName(String customBranchName) { this.customBranchName = customBranchName; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy