/** * Permit.io API * Authorization as a service * * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ResourceActionCreate */ export interface ResourceActionCreate { /** * A URL-friendly name of the action (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the action. * @type {string} * @memberof ResourceActionCreate */ key: string; /** * The name of the action * @type {string} * @memberof ResourceActionCreate */ name: string; /** * An optional longer description of what this action respresents in your system * @type {string} * @memberof ResourceActionCreate */ description?: string; /** * optional dictionary of key-value pairs that can be used to store arbitrary metadata about this action. This metadata can be used to filter actions using query parameters with attr_ prefix * @type {object} * @memberof ResourceActionCreate */ attributes?: object; }