// Copyright Abridged, Inc. 2022,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 {TokenGatingStatus} from './token-gating-status.model.js'; import {OpenObject} from './open-object.model.js'; /** * The model class is generated from OpenAPI schema - TokenGatingResponse * TokenGatingResponse */ @model({name: 'TokenGatingResponse'}) export class TokenGatingResponse { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) requestId?: string; /** * */ @property.array(TokenGatingStatus, { jsonSchema: { type: 'array', items: { $ref: '#/components/schemas/TokenGatingStatus', }, }, }) roles?: TokenGatingStatus[]; /** * */ @property.array(OpenObject, { jsonSchema: { type: 'array', items: { $ref: '#/components/schemas/OpenObject', }, }, }) errors?: OpenObject[]; } export interface TokenGatingResponseRelations { // describe navigational properties here } export type TokenGatingResponseWithRelations = TokenGatingResponse & TokenGatingResponseRelations;