io.permit.sdk.openapi.models.ResourceActionGroupUpdate Maven / Gradle / Ivy
Show all versions of permit-sdk-java Show documentation
package io.permit.sdk.openapi.models;
import java.util.HashMap;
import java.util.List;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* ResourceActionGroupUpdate
*
*
*
*/
@Generated("jsonschema2pojo")
public class ResourceActionGroupUpdate {
/**
* Name
*
* The name of the action group
*
*/
@SerializedName("name")
@Expose
public String name;
/**
* Description
*
* An optional longer description of what this action group represents in your system
*
*/
@SerializedName("description")
@Expose
public String description;
/**
* Attributes
*
* optional dictionary of key-value pairs that can be used to store arbitrary metadata about this action group. This metadata can be used to filter action groups using query parameters with attr_ prefix
*
*/
@SerializedName("attributes")
@Expose
public HashMap attributes;
/**
* Actions
*
*
*
*/
@SerializedName("actions")
@Expose
public List actions;
public ResourceActionGroupUpdate withName(String name) {
this.name = name;
return this;
}
public ResourceActionGroupUpdate withDescription(String description) {
this.description = description;
return this;
}
public ResourceActionGroupUpdate withAttributes(HashMap attributes) {
this.attributes = attributes;
return this;
}
public ResourceActionGroupUpdate withActions(List actions) {
this.actions = actions;
return this;
}
}