/* tslint:disable */
/* eslint-disable */
/**
* Gravatar Public API
* Gravatar\'s public API endpoints
*
* The version of the OpenAPI document: 3.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.js';
/**
*
* @export
* @interface AssociatedResponse
*/
export interface AssociatedResponse {
/**
* Whether the entity is associated with the account.
* @type {boolean}
* @memberof AssociatedResponse
*/
associated: boolean;
}
/**
* Check if a given object implements the AssociatedResponse interface.
*/
export function instanceOfAssociatedResponse(value: object): value is AssociatedResponse {
if (!('associated' in value) || value['associated'] === undefined) return false;
return true;
}
export function AssociatedResponseFromJSON(json: any): AssociatedResponse {
return AssociatedResponseFromJSONTyped(json, false);
}
export function AssociatedResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssociatedResponse {
if (json == null) {
return json;
}
return {
'associated': json['associated'],
};
}
export function AssociatedResponseToJSON(json: any): AssociatedResponse {
return AssociatedResponseToJSONTyped(json, false);
}
export function AssociatedResponseToJSONTyped(value?: AssociatedResponse | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'associated': value['associated'],
};
}