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

io.permit.sdk.openapi.models.AddRolePermissions 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;


/**
 * AddRolePermissions
 * 

* * */ @Generated("jsonschema2pojo") public class AddRolePermissions { /** * Permissions *

* List of permissions to assign to the role. If a permission is already granted to the role it is skipped. Each permission can be either a resource action id, or `{resource_key}:{action_key}`, i.e: the "permission name". * (Required) * */ @SerializedName("permissions") @Expose public List permissions; /** * No args constructor for use in serialization * */ public AddRolePermissions() { } /** * * @param permissions */ public AddRolePermissions(List permissions) { super(); this.permissions = permissions; } public AddRolePermissions withPermissions(List permissions) { this.permissions = permissions; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy