// Copyright Abridged, Inc. 2021,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'; /** * The model class is generated from OpenAPI schema - NEP171TokenMetadata * NEP171TokenMetadata */ @model({name: 'NEP171TokenMetadata'}) export class Nep171TokenMetadata { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) title?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) description?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) media?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) media_hash?: string; /** * */ @property({ jsonSchema: { type: 'string', format: 'BigNumber', }, }) copies?: string; /** * */ @property({ jsonSchema: { oneOf: [ { type: 'string', }, { type: 'number', }, ], }, }) issued_at?: string | number; /** * */ @property({ jsonSchema: { oneOf: [ { type: 'string', }, { type: 'number', }, ], }, }) expires_at?: string | number; /** * */ @property({ jsonSchema: { oneOf: [ { type: 'string', }, { type: 'number', }, ], }, }) starts_at?: string | number; /** * */ @property({ jsonSchema: { oneOf: [ { type: 'string', }, { type: 'number', }, ], }, }) updated_at?: string | number; /** * */ @property({ jsonSchema: { type: 'string', }, }) extra?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) reference?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) reference_hash?: string; } export interface Nep171TokenMetadataRelations { // describe navigational properties here } export type Nep171TokenMetadataWithRelations = Nep171TokenMetadata & Nep171TokenMetadataRelations;