/** * ORY Keto * Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. * * The version of the OpenAPI document: v0.0.0-alpha.46 * Contact: hi@ory.sh * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from '../api'; export class OryAccessControlPolicyAllowedInput { /** * Action is the action that is requested on the resource. */ 'action'?: string; /** * Context is the request\'s environmental context. */ 'context'?: object; /** * Resource is the resource that access is requested to. */ 'resource'?: string; /** * Subject is the subject that is requesting access. */ 'subject'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "action", "baseName": "action", "type": "string" }, { "name": "context", "baseName": "context", "type": "object" }, { "name": "resource", "baseName": "resource", "type": "string" }, { "name": "subject", "baseName": "subject", "type": "string" } ]; static getAttributeTypeMap() { return OryAccessControlPolicyAllowedInput.attributeTypeMap; } }