/** * 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 { Connector } from './Connector'; import type { PartialGroup } from './PartialGroup'; /** * PolicyBinding Serializer * @export * @interface DeviceUserBinding */ export interface DeviceUserBinding { /** * * @type {string} * @memberof DeviceUserBinding */ readonly pk: string; /** * * @type {string} * @memberof DeviceUserBinding */ policy?: string | null; /** * * @type {string} * @memberof DeviceUserBinding */ group?: string | null; /** * * @type {number} * @memberof DeviceUserBinding */ user?: number | null; /** * * @type {Policy} * @memberof DeviceUserBinding */ readonly policyObj: Policy | null; /** * * @type {PartialGroup} * @memberof DeviceUserBinding */ readonly groupObj: PartialGroup | null; /** * * @type {PartialUser} * @memberof DeviceUserBinding */ readonly userObj: PartialUser | null; /** * * @type {string} * @memberof DeviceUserBinding */ target: string; /** * Negates the outcome of the policy. Messages are unaffected. * @type {boolean} * @memberof DeviceUserBinding */ negate?: boolean; /** * * @type {boolean} * @memberof DeviceUserBinding */ enabled?: boolean; /** * * @type {number} * @memberof DeviceUserBinding */ order: number; /** * Timeout after which Policy execution is terminated. * @type {number} * @memberof DeviceUserBinding */ timeout?: number; /** * Result if the Policy execution fails. * @type {boolean} * @memberof DeviceUserBinding */ failureResult?: boolean; /** * * @type {boolean} * @memberof DeviceUserBinding */ isPrimary?: boolean; /** * * @type {string} * @memberof DeviceUserBinding */ readonly connector: string | null; /** * * @type {Connector} * @memberof DeviceUserBinding */ readonly connectorObj: Connector; } /** * Check if a given object implements the DeviceUserBinding interface. */ export declare function instanceOfDeviceUserBinding(value: object): value is DeviceUserBinding; export declare function DeviceUserBindingFromJSON(json: any): DeviceUserBinding; export declare function DeviceUserBindingFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceUserBinding; export declare function DeviceUserBindingToJSON(json: any): DeviceUserBinding; export declare function DeviceUserBindingToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=DeviceUserBinding.d.ts.map