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

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

There is a newer version: 983f46e
Show newest version

package io.permit.sdk.openapi.models;

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


/**
 * ResourceActionCreate
 * 

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

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

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

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy