io.permit.sdk.openapi.models.ActionBlockEditable Maven / Gradle / Ivy
Show all versions of permit-sdk-java Show documentation
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;
/**
* ActionBlockEditable
*
*
*
*/
@Generated("jsonschema2pojo")
public class ActionBlockEditable {
/**
* Name
*
* a more descriptive name for the action
*
*/
@SerializedName("name")
@Expose
public String name;
/**
* Description
*
* optional description string explaining what this action represents in your system
*
*/
@SerializedName("description")
@Expose
public String description;
/**
* Attributes
*
* Arbitrary action attributes that can be used for filtering or enforcement of attribute-based access control policies.
*
*/
@SerializedName("attributes")
@Expose
public HashMap attributes;
public ActionBlockEditable withName(String name) {
this.name = name;
return this;
}
public ActionBlockEditable withDescription(String description) {
this.description = description;
return this;
}
public ActionBlockEditable withAttributes(HashMap attributes) {
this.attributes = attributes;
return this;
}
}