/* 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 UpdateProductRangeRequestAttributesInner */ export interface UpdateProductRangeRequestAttributesInner { /** * * @type {number} * @memberof UpdateProductRangeRequestAttributesInner */ attributeId?: number; /** * * @type {number} * @memberof UpdateProductRangeRequestAttributesInner */ order?: number; } /** * Check if a given object implements the UpdateProductRangeRequestAttributesInner interface. */ export function instanceOfUpdateProductRangeRequestAttributesInner(value: object): value is UpdateProductRangeRequestAttributesInner { return true; } export function UpdateProductRangeRequestAttributesInnerFromJSON(json: any): UpdateProductRangeRequestAttributesInner { return UpdateProductRangeRequestAttributesInnerFromJSONTyped(json, false); } export function UpdateProductRangeRequestAttributesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductRangeRequestAttributesInner { if (json == null) { return json; } return { 'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'], 'order': json['order'] == null ? undefined : json['order'], }; } export function UpdateProductRangeRequestAttributesInnerToJSON(json: any): UpdateProductRangeRequestAttributesInner { return UpdateProductRangeRequestAttributesInnerToJSONTyped(json, false); } export function UpdateProductRangeRequestAttributesInnerToJSONTyped(value?: UpdateProductRangeRequestAttributesInner | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'attribute_id': value['attributeId'], 'order': value['order'], }; }