/* tslint:disable */ /* eslint-disable */ /** * My API * API documentation for my Laravel app * * 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 CreateBlogCategoryRequestDescriptionsInner */ export interface CreateBlogCategoryRequestDescriptionsInner { /** * * @type {string} * @memberof CreateBlogCategoryRequestDescriptionsInner */ headerDescription?: string | null; /** * * @type {string} * @memberof CreateBlogCategoryRequestDescriptionsInner */ footerDescription?: string | null; /** * * @type {number} * @memberof CreateBlogCategoryRequestDescriptionsInner */ siteId: number; } /** * Check if a given object implements the CreateBlogCategoryRequestDescriptionsInner interface. */ export function instanceOfCreateBlogCategoryRequestDescriptionsInner(value: object): value is CreateBlogCategoryRequestDescriptionsInner { if (!('siteId' in value) || value['siteId'] === undefined) return false; return true; } export function CreateBlogCategoryRequestDescriptionsInnerFromJSON(json: any): CreateBlogCategoryRequestDescriptionsInner { return CreateBlogCategoryRequestDescriptionsInnerFromJSONTyped(json, false); } export function CreateBlogCategoryRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBlogCategoryRequestDescriptionsInner { if (json == null) { return json; } return { 'headerDescription': json['header_description'] == null ? undefined : json['header_description'], 'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'], 'siteId': json['site_id'], }; } export function CreateBlogCategoryRequestDescriptionsInnerToJSON(json: any): CreateBlogCategoryRequestDescriptionsInner { return CreateBlogCategoryRequestDescriptionsInnerToJSONTyped(json, false); } export function CreateBlogCategoryRequestDescriptionsInnerToJSONTyped(value?: CreateBlogCategoryRequestDescriptionsInner | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'header_description': value['headerDescription'], 'footer_description': value['footerDescription'], 'site_id': value['siteId'], }; }