mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-11 04:19:48 +00:00
52 lines
1.2 KiB
TypeScript
52 lines
1.2 KiB
TypeScript
/*
|
|
* Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT.
|
|
*/
|
|
|
|
import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils";
|
|
import { AxiosResponse } from "axios";
|
|
import { Expose } from "class-transformer";
|
|
|
|
export class AnonymizeUserRequest extends SpeakeasyBase {
|
|
@SpeakeasyMetadata({ data: "pathParam, style=simple;explode=false;name=id" })
|
|
id: number;
|
|
}
|
|
|
|
/**
|
|
* response
|
|
*/
|
|
export class AnonymizeUserResponseBody extends SpeakeasyBase {
|
|
@SpeakeasyMetadata()
|
|
@Expose({ name: "success" })
|
|
success: string;
|
|
|
|
@SpeakeasyMetadata()
|
|
@Expose({ name: "username" })
|
|
username: string;
|
|
}
|
|
|
|
export class AnonymizeUserResponse extends SpeakeasyBase {
|
|
/**
|
|
* HTTP response content type for this operation
|
|
*/
|
|
@SpeakeasyMetadata()
|
|
contentType: string;
|
|
|
|
/**
|
|
* HTTP response status code for this operation
|
|
*/
|
|
@SpeakeasyMetadata()
|
|
statusCode: number;
|
|
|
|
/**
|
|
* Raw HTTP response; suitable for custom response parsing
|
|
*/
|
|
@SpeakeasyMetadata()
|
|
rawResponse: AxiosResponse;
|
|
|
|
/**
|
|
* response
|
|
*/
|
|
@SpeakeasyMetadata()
|
|
object?: AnonymizeUserResponseBody;
|
|
}
|