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

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

There is a newer version: 983f46e
Show newest version

package io.permit.sdk.openapi.models;

import java.util.Date;
import java.util.List;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;


/**
 * EnvironmentStats
 * 

* * */ @Generated("jsonschema2pojo") public class EnvironmentStats { /** * 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; /** * Id *

* Unique id of the environment * (Required) * */ @SerializedName("id") @Expose public String id; /** * Organization Id *

* Unique id of the organization that the environment belongs to. * (Required) * */ @SerializedName("organization_id") @Expose public String organizationId; /** * Project Id *

* Unique id of the project that the environment belongs to. * (Required) * */ @SerializedName("project_id") @Expose public String projectId; /** * Created At *

* Date and time when the environment was created (ISO_8601 format). * (Required) * */ @SerializedName("created_at") @Expose public Date createdAt; /** * Updated At *

* Date and time when the environment was last updated/modified (ISO_8601 format). * (Required) * */ @SerializedName("updated_at") @Expose public Date updatedAt; /** * 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; /** * Pdp Configs *

* * (Required) * */ @SerializedName("pdp_configs") @Expose public List pdpConfigs; /** * Statistics *

* * (Required) * */ @SerializedName("stats") @Expose public Statistics stats; /** * No args constructor for use in serialization * */ public EnvironmentStats() { } /** * * @param organizationId * @param createdAt * @param stats * @param name * @param id * @param pdpConfigs * @param projectId * @param key * @param updatedAt */ public EnvironmentStats(String key, String id, String organizationId, String projectId, Date createdAt, Date updatedAt, String name, List pdpConfigs, Statistics stats) { super(); this.key = key; this.id = id; this.organizationId = organizationId; this.projectId = projectId; this.createdAt = createdAt; this.updatedAt = updatedAt; this.name = name; this.pdpConfigs = pdpConfigs; this.stats = stats; } public EnvironmentStats withKey(String key) { this.key = key; return this; } public EnvironmentStats withId(String id) { this.id = id; return this; } public EnvironmentStats withOrganizationId(String organizationId) { this.organizationId = organizationId; return this; } public EnvironmentStats withProjectId(String projectId) { this.projectId = projectId; return this; } public EnvironmentStats withCreatedAt(Date createdAt) { this.createdAt = createdAt; return this; } public EnvironmentStats withUpdatedAt(Date updatedAt) { this.updatedAt = updatedAt; return this; } public EnvironmentStats withName(String name) { this.name = name; return this; } public EnvironmentStats withDescription(String description) { this.description = description; return this; } public EnvironmentStats withCustomBranchName(String customBranchName) { this.customBranchName = customBranchName; return this; } public EnvironmentStats withPdpConfigs(List pdpConfigs) { this.pdpConfigs = pdpConfigs; return this; } public EnvironmentStats withStats(Statistics stats) { this.stats = stats; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy