mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-06 12:27:48 +00:00
4.6 KiB
4.6 KiB
GetUserGroups
Example Usage
import { GetUserGroups } from "@lukehagar/discoursejs/sdk/models/operations";
let value: GetUserGroups = {
allowMembershipRequests: false,
automatic: false,
bioCooked: "<value>",
bioExcerpt: "<value>",
bioRaw: "<value>",
canAdminGroup: false,
canSeeMembers: false,
defaultNotificationLevel: 881586,
displayName: "Emmanuelle_Turner",
flairBgColor: "<value>",
flairColor: "<value>",
flairUrl: "<value>",
fullName: "Derek Sipes",
grantTrustLevel: "<value>",
hasMessages: false,
id: 55,
incomingEmail: "<value>",
membersVisibilityLevel: 872651,
membershipRequestTemplate: "<value>",
mentionableLevel: 311860,
messageableLevel: 273542,
name: "<value>",
primaryGroup: false,
publicAdmission: false,
publicExit: false,
publishReadState: false,
title: "<value>",
userCount: 425451,
visibilityLevel: 798047,
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
allowMembershipRequests |
boolean | ✔️ | N/A |
automatic |
boolean | ✔️ | N/A |
bioCooked |
string | ✔️ | N/A |
bioExcerpt |
string | ✔️ | N/A |
bioRaw |
string | ✔️ | N/A |
canAdminGroup |
boolean | ✔️ | N/A |
canSeeMembers |
boolean | ✔️ | N/A |
defaultNotificationLevel |
number | ✔️ | N/A |
displayName |
string | ✔️ | N/A |
flairBgColor |
string | ✔️ | N/A |
flairColor |
string | ✔️ | N/A |
flairUrl |
string | ✔️ | N/A |
fullName |
string | ✔️ | N/A |
grantTrustLevel |
string | ✔️ | N/A |
hasMessages |
boolean | ✔️ | N/A |
id |
number | ✔️ | N/A |
incomingEmail |
string | ✔️ | N/A |
membersVisibilityLevel |
number | ✔️ | N/A |
membershipRequestTemplate |
string | ✔️ | N/A |
mentionableLevel |
number | ✔️ | N/A |
messageableLevel |
number | ✔️ | N/A |
name |
string | ✔️ | N/A |
primaryGroup |
boolean | ✔️ | N/A |
publicAdmission |
boolean | ✔️ | N/A |
publicExit |
boolean | ✔️ | N/A |
publishReadState |
boolean | ✔️ | N/A |
title |
string | ✔️ | N/A |
userCount |
number | ✔️ | N/A |
visibilityLevel |
number | ✔️ | N/A |