/** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Policy } from './Policy'; import type { Group } from './Group'; import type { User } from './User'; /** * PolicyBinding Serializer * @export * @interface PolicyBinding */ export interface PolicyBinding { /** * * @type {string} * @memberof PolicyBinding */ readonly pk: string; /** * * @type {string} * @memberof PolicyBinding */ policy?: string | null; /** * * @type {string} * @memberof PolicyBinding */ group?: string | null; /** * * @type {number} * @memberof PolicyBinding */ user?: number | null; /** * * @type {Policy} * @memberof PolicyBinding */ readonly policyObj: Policy; /** * * @type {Group} * @memberof PolicyBinding */ readonly groupObj: Group; /** * * @type {User} * @memberof PolicyBinding */ readonly userObj: User; /** * * @type {string} * @memberof PolicyBinding */ target: string; /** * Negates the outcome of the policy. Messages are unaffected. * @type {boolean} * @memberof PolicyBinding */ negate?: boolean; /** * * @type {boolean} * @memberof PolicyBinding */ enabled?: boolean; /** * * @type {number} * @memberof PolicyBinding */ order: number; /** * Timeout after which Policy execution is terminated. * @type {number} * @memberof PolicyBinding */ timeout?: number; /** * Result if the Policy execution fails. * @type {boolean} * @memberof PolicyBinding */ failureResult?: boolean; } /** * Check if a given object implements the PolicyBinding interface. */ export declare function instanceOfPolicyBinding(value: object): value is PolicyBinding; export declare function PolicyBindingFromJSON(json: any): PolicyBinding; export declare function PolicyBindingFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyBinding; export declare function PolicyBindingToJSON(json: any): PolicyBinding; export declare function PolicyBindingToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=PolicyBinding.d.ts.map