link-stack/packages/signal-api/models/ApiCreateGroupResponse.ts

61 lines
1.4 KiB
TypeScript
Raw Normal View History

/* 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 ApiCreateGroupResponse
*/
export interface ApiCreateGroupResponse {
/**
*
* @type {string}
* @memberof ApiCreateGroupResponse
*/
id?: string;
}
/**
* Check if a given object implements the ApiCreateGroupResponse interface.
*/
export function instanceOfApiCreateGroupResponse(value: object): value is ApiCreateGroupResponse {
return true;
}
export function ApiCreateGroupResponseFromJSON(json: any): ApiCreateGroupResponse {
return ApiCreateGroupResponseFromJSONTyped(json, false);
}
export function ApiCreateGroupResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiCreateGroupResponse {
if (json == null) {
return json;
}
return {
'id': json['id'] == null ? undefined : json['id'],
};
}
export function ApiCreateGroupResponseToJSON(value?: ApiCreateGroupResponse | null): any {
if (value == null) {
return value;
}
return {
'id': value['id'],
};
}