/** * ORY Keto * 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.37 * 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. */ export class Input { /** * Action is the action that is requested on the resource. */ 'action'?: string; /** * Context is the request\'s environmental context. */ 'context'?: { [key: string]: 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": "{ [key: string]: object; }" }, { "name": "resource", "baseName": "resource", "type": "string" }, { "name": "subject", "baseName": "subject", "type": "string" } ]; static getAttributeTypeMap() { return Input.attributeTypeMap; } }