/** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.2.3-rc1 * 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 { PartialUser } from './PartialUser'; import type { Policy } from './Policy'; import type { PartialGroup } from './PartialGroup'; /** * 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 | null; /** * * @type {PartialGroup} * @memberof PolicyBinding */ readonly groupObj: PartialGroup | null; /** * * @type {PartialUser} * @memberof PolicyBinding */ readonly userObj: PartialUser | null; /** * * @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