class OneOf extends ReflectionObjectimport { OneOf } from "https://deno.land/x/steam_trader@v0.4.0/types/protobuf.d.ts"; Reflected oneof. ConstructorsnewOneOf(name: string,fieldNames?: (string[] | { [k: string]: any; }),options?: { [k: string]: any; },comment?: string,)Constructs a new oneof instance. Propertiescomment: (string | null)Comment for this field. readonlyfieldsArray: Field[]Fields that belong to this oneof as an array for iteration. oneof: string[]Field names that belong to this oneof. Methodsadd(field: Field): OneOfAdds a field to this oneof and removes it from its current parent, if any. remove(field: Field): OneOfRemoves a field from this oneof and puts it back to the oneof's parent. toJSON(toJSONOptions?: IToJSONOptions): IOneOfConverts this oneof to a oneof descriptor. Static Methodsd<T extends string>(...fieldNames: string[]): OneOfDecoratorOneOf decorator (TypeScript). fromJSON(name: string, json: IOneOf): OneOfConstructs a oneof from a oneof descriptor.