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

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


/**
 * ResourceAttributeCreate
 * 

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

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

* An optional longer description of what this attribute respresents in your system * */ @SerializedName("description") @Expose public String description; /** * No args constructor for use in serialization * */ public ResourceAttributeCreate() { } /** * * @param type * @param key */ public ResourceAttributeCreate(String key, AttributeType type) { super(); this.key = key; this.type = type; } public ResourceAttributeCreate withKey(String key) { this.key = key; return this; } public ResourceAttributeCreate withType(AttributeType type) { this.type = type; return this; } public ResourceAttributeCreate withDescription(String description) { this.description = description; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy