UNPKG

@azure-tools/typespec-java

Version:

TypeSpec library for emitting Java client from the TypeSpec REST protocol binding

16 lines 616 B
/* eslint-disable @typescript-eslint/no-unsafe-declaration-merging */ import { Schema, SchemaType, } from "@autorest/codemodel"; export class ChoiceSchema extends Schema { constructor(name, description, objectInitializer) { super(name, description, SchemaType.Choice); this.apply(objectInitializer); } } export class SealedChoiceSchema extends Schema { // crossLanguageDefinitionId?: string; constructor(name, description, objectInitializer) { super(name, description, SchemaType.SealedChoice); this.apply(objectInitializer); } } //# sourceMappingURL=choice.js.map