/* tslint:disable */ /* eslint-disable */ /** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * 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 CreateBookmarkRequestLocationAnyOf */ export interface CreateBookmarkRequestLocationAnyOf { /** * * @type {string} * @memberof CreateBookmarkRequestLocationAnyOf */ 'sortKey': string; /** * * @type {string} * @memberof CreateBookmarkRequestLocationAnyOf */ 'insertAfterId': string; } /** * Check if a given object implements the CreateBookmarkRequestLocationAnyOf interface. */ export function instanceOfCreateBookmarkRequestLocationAnyOf(value: object): value is CreateBookmarkRequestLocationAnyOf { if (!('sortKey' in value) || value['sortKey'] === undefined) return false; if (!('insertAfterId' in value) || value['insertAfterId'] === undefined) return false; return true; } export function CreateBookmarkRequestLocationAnyOfFromJSON(json: any): CreateBookmarkRequestLocationAnyOf { return CreateBookmarkRequestLocationAnyOfFromJSONTyped(json, false); } export function CreateBookmarkRequestLocationAnyOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBookmarkRequestLocationAnyOf { if (json == null) { return json; } const result = { } as CreateBookmarkRequestLocationAnyOf; if (json['sortKey'] !== undefined) { result['sortKey'] = json['sortKey']; } if (json['insertAfterId'] !== undefined) { result['insertAfterId'] = json['insertAfterId']; } return result; } export function CreateBookmarkRequestLocationAnyOfToJSON(json: any): CreateBookmarkRequestLocationAnyOf { return CreateBookmarkRequestLocationAnyOfToJSONTyped(json, false); } export function CreateBookmarkRequestLocationAnyOfToJSONTyped(value?: CreateBookmarkRequestLocationAnyOf | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'sortKey': value['sortKey'], 'insertAfterId': value['insertAfterId'], }; }