mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 20:37:49 +00:00
67 lines
3.5 KiB
Markdown
67 lines
3.5 KiB
Markdown
# UserActions
|
|
|
|
## Example Usage
|
|
|
|
```typescript
|
|
import { UserActions } from "@lukehagar/discoursejs/sdk/models/operations";
|
|
|
|
let value: UserActions = {
|
|
actingAvatarTemplate: "<value>",
|
|
actingName: "<value>",
|
|
actingUserId: 709072,
|
|
actingUsername: "<value>",
|
|
actionCode: "<value>",
|
|
actionType: 70869,
|
|
archived: false,
|
|
avatarTemplate: "<value>",
|
|
categoryId: 611749,
|
|
closed: false,
|
|
createdAt: "<value>",
|
|
deleted: false,
|
|
excerpt: "<value>",
|
|
hidden: "<value>",
|
|
name: "<value>",
|
|
postId: "<value>",
|
|
postNumber: 292794,
|
|
postType: "<value>",
|
|
slug: "<value>",
|
|
targetName: "<value>",
|
|
targetUserId: 671907,
|
|
targetUsername: "<value>",
|
|
title: "<value>",
|
|
topicId: 152354,
|
|
userId: 447516,
|
|
username: "Haylie37",
|
|
};
|
|
```
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
|
|
| `actingAvatarTemplate` | *string* | :heavy_check_mark: | N/A |
|
|
| `actingName` | *string* | :heavy_check_mark: | N/A |
|
|
| `actingUserId` | *number* | :heavy_check_mark: | N/A |
|
|
| `actingUsername` | *string* | :heavy_check_mark: | N/A |
|
|
| `actionCode` | *string* | :heavy_check_mark: | N/A |
|
|
| `actionType` | *number* | :heavy_check_mark: | N/A |
|
|
| `archived` | *boolean* | :heavy_check_mark: | N/A |
|
|
| `avatarTemplate` | *string* | :heavy_check_mark: | N/A |
|
|
| `categoryId` | *number* | :heavy_check_mark: | N/A |
|
|
| `closed` | *boolean* | :heavy_check_mark: | N/A |
|
|
| `createdAt` | *string* | :heavy_check_mark: | N/A |
|
|
| `deleted` | *boolean* | :heavy_check_mark: | N/A |
|
|
| `excerpt` | *string* | :heavy_check_mark: | N/A |
|
|
| `hidden` | *string* | :heavy_check_mark: | N/A |
|
|
| `name` | *string* | :heavy_check_mark: | N/A |
|
|
| `postId` | *string* | :heavy_check_mark: | N/A |
|
|
| `postNumber` | *number* | :heavy_check_mark: | N/A |
|
|
| `postType` | *string* | :heavy_check_mark: | N/A |
|
|
| `slug` | *string* | :heavy_check_mark: | N/A |
|
|
| `targetName` | *string* | :heavy_check_mark: | N/A |
|
|
| `targetUserId` | *number* | :heavy_check_mark: | N/A |
|
|
| `targetUsername` | *string* | :heavy_check_mark: | N/A |
|
|
| `title` | *string* | :heavy_check_mark: | N/A |
|
|
| `topicId` | *number* | :heavy_check_mark: | N/A |
|
|
| `userId` | *number* | :heavy_check_mark: | N/A |
|
|
| `username` | *string* | :heavy_check_mark: | N/A | |