// Copyright Abridged, Inc. 2023,2024. All Rights Reserved. // Node module: @collabland/sdk // This file is licensed under the MIT License. // License text available at https://opensource.org/license/mit/ import {model, property} from '@loopback/repository'; import {ApiUser} from './api-user.model.js'; /** * The model class is generated from OpenAPI schema - GuildMemberInfoResponse * GuildMemberInfoResponse */ @model({name: 'GuildMemberInfoResponse'}) export class GuildMemberInfoResponse { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { $ref: '#/components/schemas/APIUser', }, }) user?: ApiUser; /** * */ @property({ jsonSchema: { type: 'string', }, }) nick?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) avatar?: string; /** * */ @property.array(String, { jsonSchema: { type: 'array', items: { type: 'string', }, }, }) roles?: string[]; /** * */ @property({ jsonSchema: { type: 'string', }, }) joined_at?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) premium_since?: string; /** * */ @property({ jsonSchema: { type: 'boolean', }, }) deaf?: boolean; /** * */ @property({ jsonSchema: { type: 'boolean', }, }) mute?: boolean; /** * */ @property({ jsonSchema: { type: 'boolean', }, }) pending?: boolean; /** * */ @property({ jsonSchema: { type: 'string', }, }) communication_disabled_until?: string; } export interface GuildMemberInfoResponseRelations { // describe navigational properties here } export type GuildMemberInfoResponseWithRelations = GuildMemberInfoResponse & GuildMemberInfoResponseRelations;