/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.8.0-rc7 * 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 { mapValues } from '../runtime'; /** * * @export * @interface RequestRuleChildBinding */ export interface RequestRuleChildBinding { /** * * @type {string} * @memberof RequestRuleChildBinding */ uuid?: string; /** * * @type {string} * @memberof RequestRuleChildBinding */ binding: string; /** * * @type {string} * @memberof RequestRuleChildBinding */ target: string; } /** * Check if a given object implements the RequestRuleChildBinding interface. */ export function instanceOfRequestRuleChildBinding(value: object): value is RequestRuleChildBinding { if (!('binding' in value) || value['binding'] === undefined) return false; if (!('target' in value) || value['target'] === undefined) return false; return true; } export function RequestRuleChildBindingFromJSON(json: any): RequestRuleChildBinding { return RequestRuleChildBindingFromJSONTyped(json, false); } export function RequestRuleChildBindingFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestRuleChildBinding { if (json == null) { return json; } return { 'uuid': json['uuid'] == null ? undefined : json['uuid'], 'binding': json['binding'], 'target': json['target'], }; } export function RequestRuleChildBindingToJSON(json: any): RequestRuleChildBinding { return RequestRuleChildBindingToJSONTyped(json, false); } export function RequestRuleChildBindingToJSONTyped(value?: RequestRuleChildBinding | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'uuid': value['uuid'], 'binding': value['binding'], 'target': value['target'], }; }