/* tslint:disable */ /* eslint-disable */ /** * Signal Cli REST API * This is the Signal Cli REST API documentation. * * The version of the OpenAPI document: 1.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 ApiUpdateProfileRequest */ export interface ApiUpdateProfileRequest { /** * * @type {string} * @memberof ApiUpdateProfileRequest */ base64Avatar?: string; /** * * @type {string} * @memberof ApiUpdateProfileRequest */ name?: string; } /** * Check if a given object implements the ApiUpdateProfileRequest interface. */ export function instanceOfApiUpdateProfileRequest(value: object): value is ApiUpdateProfileRequest { return true; } export function ApiUpdateProfileRequestFromJSON(json: any): ApiUpdateProfileRequest { return ApiUpdateProfileRequestFromJSONTyped(json, false); } export function ApiUpdateProfileRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUpdateProfileRequest { if (json == null) { return json; } return { 'base64Avatar': json['base64_avatar'] == null ? undefined : json['base64_avatar'], 'name': json['name'] == null ? undefined : json['name'], }; } export function ApiUpdateProfileRequestToJSON(value?: ApiUpdateProfileRequest | null): any { if (value == null) { return value; } return { 'base64_avatar': value['base64Avatar'], 'name': value['name'], }; }