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

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

There is a newer version: 983f46e
Show newest version

package io.permit.sdk.openapi.models;

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


/**
 * ResourceRoleUpdate
 * 

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

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

* optional description string explaining what this role represents, or what permissions are granted to it. * */ @SerializedName("description") @Expose public String description; /** * Permissions *

* list of action keys that define what actions this resource role is permitted to do * */ @SerializedName("permissions") @Expose public List permissions; /** * Extends *

* list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list. * */ @SerializedName("extends") @Expose public List _extends; public ResourceRoleUpdate withName(String name) { this.name = name; return this; } public ResourceRoleUpdate withDescription(String description) { this.description = description; return this; } public ResourceRoleUpdate withPermissions(List permissions) { this.permissions = permissions; return this; } public ResourceRoleUpdate withExtends(List _extends) { this._extends = _extends; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy