# Badge ## Example Usage ```typescript import { Badge } from "@lukehagar/discoursejs/sdk/models/operations"; let value: Badge = { allowTitle: false, autoRevoke: false, badgeGroupingId: 678880, badgeTypeId: 118274, description: "Re-contextualized motivating leverage", enabled: false, grantCount: 143353, icon: "", id: 537373, imageUrl: "", listable: false, longDescription: "", manuallyGrantable: false, multipleGrant: false, name: "", query: "", showPosts: false, slug: "", system: false, targetPosts: false, trigger: "", }; ``` ## Fields | Field | Type | Required | Description | | ------------------- | ------------------- | ------------------- | ------------------- | | `allowTitle` | *boolean* | :heavy_check_mark: | N/A | | `autoRevoke` | *boolean* | :heavy_check_mark: | N/A | | `badgeGroupingId` | *number* | :heavy_check_mark: | N/A | | `badgeTypeId` | *number* | :heavy_check_mark: | N/A | | `description` | *string* | :heavy_check_mark: | N/A | | `enabled` | *boolean* | :heavy_check_mark: | N/A | | `grantCount` | *number* | :heavy_check_mark: | N/A | | `icon` | *string* | :heavy_check_mark: | N/A | | `id` | *number* | :heavy_check_mark: | N/A | | `imageUrl` | *string* | :heavy_check_mark: | N/A | | `listable` | *boolean* | :heavy_check_mark: | N/A | | `longDescription` | *string* | :heavy_check_mark: | N/A | | `manuallyGrantable` | *boolean* | :heavy_check_mark: | N/A | | `multipleGrant` | *boolean* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | | `query` | *string* | :heavy_check_mark: | N/A | | `showPosts` | *boolean* | :heavy_check_mark: | N/A | | `slug` | *string* | :heavy_check_mark: | N/A | | `system` | *boolean* | :heavy_check_mark: | N/A | | `targetPosts` | *boolean* | :heavy_check_mark: | N/A | | `trigger` | *string* | :heavy_check_mark: | N/A |