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

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

There is a newer version: 983f46e
Show newest version

package io.permit.sdk.openapi.models;

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


/**
 * ResourceReplace
 * 

* * */ @Generated("jsonschema2pojo") public class ResourceReplace { /** * Name *

* The name of the resource * (Required) * */ @SerializedName("name") @Expose public java.lang.String name; /** * Urn *

* The [URN](https://en.wikipedia.org/wiki/Uniform_Resource_Name) (Uniform Resource Name) of the resource * */ @SerializedName("urn") @Expose public java.lang.String urn; /** * Description *

* An optional longer description of what this resource respresents in your system * */ @SerializedName("description") @Expose public java.lang.String description; /** * Actions *

* * A actions definition block, typically contained within a resource type definition block. * The actions represents the ways you can interact with a protected resource. * * (Required) * */ @SerializedName("actions") @Expose public HashMap actions; /** * Attributes *

* Attributes that each resource of this type defines, and can be used in your ABAC policies. * */ @SerializedName("attributes") @Expose public HashMap attributes; /** * No args constructor for use in serialization * */ public ResourceReplace() { } /** * * @param name * @param actions */ public ResourceReplace(java.lang.String name, HashMap actions) { super(); this.name = name; this.actions = actions; } public ResourceReplace withName(java.lang.String name) { this.name = name; return this; } public ResourceReplace withUrn(java.lang.String urn) { this.urn = urn; return this; } public ResourceReplace withDescription(java.lang.String description) { this.description = description; return this; } public ResourceReplace withActions(HashMap actions) { this.actions = actions; return this; } public ResourceReplace withAttributes(HashMap attributes) { this.attributes = attributes; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy