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

io.permit.sdk.openapi.models.ProjectCreate 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;


/**
 * ProjectCreate
 * 

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

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

* Optional namespace for URNs. If empty, URNs will be generated from project key. * */ @SerializedName("urn_namespace") @Expose public String urnNamespace; /** * Name *

* The name of the project * (Required) * */ @SerializedName("name") @Expose public String name; /** * Description *

* a longer description outlining the project objectives * */ @SerializedName("description") @Expose public String description; /** * Settings *

* the settings for this project * */ @SerializedName("settings") @Expose public Settings__4 settings; /** * Active Policy Repo Id *

* the id of the policy repo to use for this project * */ @SerializedName("active_policy_repo_id") @Expose public String activePolicyRepoId; /** * No args constructor for use in serialization * */ public ProjectCreate() { } /** * * @param name * @param key */ public ProjectCreate(String key, String name) { super(); this.key = key; this.name = name; } public ProjectCreate withKey(String key) { this.key = key; return this; } public ProjectCreate withUrnNamespace(String urnNamespace) { this.urnNamespace = urnNamespace; return this; } public ProjectCreate withName(String name) { this.name = name; return this; } public ProjectCreate withDescription(String description) { this.description = description; return this; } public ProjectCreate withSettings(Settings__4 settings) { this.settings = settings; return this; } public ProjectCreate withActivePolicyRepoId(String activePolicyRepoId) { this.activePolicyRepoId = activePolicyRepoId; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy