From c34e7e56487a47605461ca7454cca878c46cb24a Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Mon, 6 May 2019 13:01:26 -0400 Subject: [PATCH 01/37] Stepping stone --- src/quicktype-core/language/Swift.ts | 188 +++++++++++++++------------ 1 file changed, 108 insertions(+), 80 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 8459a1db8d..644e15afb0 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -1,4 +1,5 @@ import { arrayIntercalate } from "collection-utils"; +import { assert, assertNever, defined } from "../support/Support"; import { TargetLanguage } from "../TargetLanguage"; import { @@ -281,6 +282,7 @@ function unicodeEscape(codePoint: number): string { const stringEscape = utf32ConcatMap(escapeNonPrintableMapper(isPrintable, unicodeEscape)); export class SwiftRenderer extends ConvenienceRenderer { + private _currentFilename: string | undefined; private _needAny: boolean = false; private _needNull: boolean = false; @@ -558,7 +560,29 @@ export class SwiftRenderer extends ConvenienceRenderer { : this._options.accessLevel + " "; } + /// startFile takes a file name, appends ".swift" to it and sets it as the current filename. + protected startFile(basename: Sourcelike): void { + assert(this._currentFilename === undefined, "Previous file wasn't finished: " + this._currentFilename); + // FIXME: The filenames should actually be Sourcelikes, too + this._currentFilename = `${this.sourcelikeToString(basename)}.swift`; + } + + /// finishFile pushes the current file name onto the collection of finished files and then resets the current file name. These finished files are used in index.ts to write the output. + protected finishFile(): void { + super.finishFile(defined(this._currentFilename)); + this._currentFilename = undefined; + } + private renderClassDefinition(c: ClassType, className: Name): void { + this.startFile(className); + + this.forEachTopLevel( + "leading", + (t: Type, name: Name) => this.renderTopLevelAlias(t, name), + t => this.namedTypeToNameForTopLevel(t) === undefined + ); + + this.renderHeader(); this.emitDescription(this.descriptionForType(c)); const isClass = this._options.useClasses || this.isCycleBreakerType(c); @@ -660,6 +684,44 @@ export class SwiftRenderer extends ConvenienceRenderer { }); } }); + + if (!this._options.justTypes) { + // FIXME: We emit only the MARK line for top-level-enum.schema + if (this._options.convenienceInitializers) { + this.ensureBlankLine(); + this.emitMark("Convenience initializers and mutators"); + this.emitConvenienceInitializersExtension(c, className); + this.ensureBlankLine(); + this.forEachTopLevel("leading-and-interposing", (t: Type, name: Name) => + this.emitTopLevelMapAndArrayConvenienceInitializerExtensions(t, name) + ); + } + } + + if ( + (!this._options.justTypes && this._options.convenienceInitializers) || + this._options.urlSession || + this._options.alamofire + ) { + this.ensureBlankLine(); + this.emitNewEncoderDecoder(); + } + + if (this._options.urlSession) { + this.ensureBlankLine(); + this.emitMark("URLSession response handlers", true); + this.ensureBlankLine(); + this.emitURLSessionExtension(className); + } + + if (this._options.alamofire) { + this.ensureBlankLine(); + this.emitMark("Alamofire response handlers", true); + this.ensureBlankLine(); + this.emitAlamofireExtension(className); + } + + this.finishFile(); } private emitNewEncoderDecoder(): void { @@ -761,6 +823,8 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); } private renderEnumDefinition(e: EnumType, enumName: Name): void { + this.startFile(enumName); + this.emitDescription(this.descriptionForType(e)); const protocols: string[] = []; @@ -792,9 +856,13 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); }); }); } + + this.finishFile(); } private renderUnionDefinition(u: UnionType, unionName: Name): void { + this.startFile(unionName); + function sortBy(t: Type): string { const kind = t.kind; if (kind === "class") return kind; @@ -856,6 +924,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); }); } }); + this.finishFile(); } private emitTopLevelMapAndArrayConvenienceInitializerExtensions(t: Type, name: Name): void { @@ -906,6 +975,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); } private emitSupportFunctions4 = (): void => { + this.startFile("JSONSchemaSupport"); // This assumes that this method is called after declarations // are emitted. if (this._needAny || this._needNull) { @@ -1152,6 +1222,8 @@ ${this.accessLevel}class JSONAny: Codable { } }`); } + + this.finishFile(); }; private emitConvenienceMutator(c: ClassType, className: Name) { @@ -1190,13 +1262,15 @@ ${this.accessLevel}class JSONAny: Codable { } protected emitSourceStructure(): void { - this.renderHeader(); + // this.forEachTopLevel( + // "leading", + // (t: Type, name: Name) => this.renderTopLevelAlias(t, name), + // t => this.namedTypeToNameForTopLevel(t) === undefined + // ); - this.forEachTopLevel( - "leading", - (t: Type, name: Name) => this.renderTopLevelAlias(t, name), - t => this.namedTypeToNameForTopLevel(t) === undefined - ); + if (!this._options.justTypes) { + this.emitSupportFunctions4(); + } this.forEachNamedType( "leading-and-interposing", @@ -1204,53 +1278,11 @@ ${this.accessLevel}class JSONAny: Codable { (e: EnumType, enumName: Name) => this.renderEnumDefinition(e, enumName), (u: UnionType, unionName: Name) => this.renderUnionDefinition(u, unionName) ); + - if (!this._options.justTypes) { - // FIXME: We emit only the MARK line for top-level-enum.schema - if (this._options.convenienceInitializers) { - this.ensureBlankLine(); - this.emitMark("Convenience initializers and mutators"); - this.forEachNamedType( - "leading-and-interposing", - (c: ClassType, className: Name) => this.emitConvenienceInitializersExtension(c, className), - () => undefined, - () => undefined - ); - this.ensureBlankLine(); - this.forEachTopLevel("leading-and-interposing", (t: Type, name: Name) => - this.emitTopLevelMapAndArrayConvenienceInitializerExtensions(t, name) - ); - } - - this.ensureBlankLine(); - this.emitSupportFunctions4(); - } - - if ( - (!this._options.justTypes && this._options.convenienceInitializers) || - this._options.urlSession || - this._options.alamofire - ) { - this.ensureBlankLine(); - this.emitNewEncoderDecoder(); - } - - if (this._options.urlSession) { - this.ensureBlankLine(); - this.emitMark("URLSession response handlers", true); - this.ensureBlankLine(); - this.emitURLSessionExtension(); - } - - if (this._options.alamofire) { - this.ensureBlankLine(); - this.emitMark("Alamofire response handlers", true); - this.ensureBlankLine(); - this.emitAlamofireExtension(); - } } - private emitURLSessionExtension() { + private emitURLSessionExtension(className: Name) { this.ensureBlankLine(); this.emitBlockWithAccess("extension URLSession", () => { this @@ -1264,24 +1296,22 @@ ${this.accessLevel}class JSONAny: Codable { } }`); this.ensureBlankLine(); - this.forEachTopLevel("leading-and-interposing", (_, name) => { - this.emitBlock( - [ - "func ", - modifySource(camelCase, name), - "Task(with url: URL, completionHandler: @escaping (", - name, - "?, URLResponse?, Error?) -> Void) -> URLSessionDataTask" - ], - () => { - this.emitLine(`return self.codableTask(with: url, completionHandler: completionHandler)`); - } - ); - }); + this.emitBlock( + [ + "func ", + modifySource(camelCase, className), + "Task(with url: URL, completionHandler: @escaping (", + className, + "?, URLResponse?, Error?) -> Void) -> URLSessionDataTask" + ], + () => { + this.emitLine(`return self.codableTask(with: url, completionHandler: completionHandler)`); + } + ); }); } - private emitAlamofireExtension() { + private emitAlamofireExtension(className: Name) { this.ensureBlankLine(); this.emitBlockWithAccess("extension DataRequest", () => { this @@ -1302,21 +1332,19 @@ fileprivate func responseDecodable(queue: DispatchQueue? = nil, co return response(queue: queue, responseSerializer: decodableResponseSerializer(), completionHandler: completionHandler) }`); this.ensureBlankLine(); - this.forEachTopLevel("leading-and-interposing", (_, name) => { - this.emitLine("@discardableResult"); - this.emitBlock( - [ - "func response", - name, - "(queue: DispatchQueue? = nil, completionHandler: @escaping (DataResponse<", - name, - ">) -> Void) -> Self" - ], - () => { - this.emitLine(`return responseDecodable(queue: queue, completionHandler: completionHandler)`); - } - ); - }); + this.emitLine("@discardableResult"); + this.emitBlock( + [ + "func response", + className, + "(queue: DispatchQueue? = nil, completionHandler: @escaping (DataResponse<", + className, + ">) -> Void) -> Self" + ], + () => { + this.emitLine(`return responseDecodable(queue: queue, completionHandler: completionHandler)`); + } + ); }); } } From 2a1498d26a7f69c2e10b3197e4f4bb147aa63062 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Mon, 6 May 2019 13:05:53 -0400 Subject: [PATCH 02/37] Fix a build error --- src/quicktype-core/language/Swift.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 644e15afb0..667df35d0a 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -1,5 +1,5 @@ import { arrayIntercalate } from "collection-utils"; -import { assert, assertNever, defined } from "../support/Support"; +import { assert, defined } from "../support/Support"; import { TargetLanguage } from "../TargetLanguage"; import { @@ -1268,7 +1268,7 @@ ${this.accessLevel}class JSONAny: Codable { // t => this.namedTypeToNameForTopLevel(t) === undefined // ); - if (!this._options.justTypes) { + if (!this._options.justTypes) { this.emitSupportFunctions4(); } @@ -1278,8 +1278,6 @@ ${this.accessLevel}class JSONAny: Codable { (e: EnumType, enumName: Name) => this.renderEnumDefinition(e, enumName), (u: UnionType, unionName: Name) => this.renderUnionDefinition(u, unionName) ); - - } private emitURLSessionExtension(className: Name) { From ff61903b892f0a9112fc5cbf2c04a15ab840da82 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Mon, 6 May 2019 21:06:26 -0400 Subject: [PATCH 03/37] Put the encoder/decoder helper functions into a supporting file --- src/quicktype-core/language/Swift.ts | 40 +++++++++++++++++----------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 667df35d0a..603b114031 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -698,15 +698,6 @@ export class SwiftRenderer extends ConvenienceRenderer { } } - if ( - (!this._options.justTypes && this._options.convenienceInitializers) || - this._options.urlSession || - this._options.alamofire - ) { - this.ensureBlankLine(); - this.emitNewEncoderDecoder(); - } - if (this._options.urlSession) { this.ensureBlankLine(); this.emitMark("URLSession response handlers", true); @@ -725,7 +716,7 @@ export class SwiftRenderer extends ConvenienceRenderer { } private emitNewEncoderDecoder(): void { - this.emitBlock("fileprivate func newJSONDecoder() -> JSONDecoder", () => { + this.emitBlock("func newJSONDecoder() -> JSONDecoder", () => { this.emitLine("let decoder = JSONDecoder()"); if (!this._options.linux) { this.emitBlock("if #available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)", () => { @@ -754,7 +745,7 @@ export class SwiftRenderer extends ConvenienceRenderer { this.emitLine("return decoder"); }); this.ensureBlankLine(); - this.emitBlock("fileprivate func newJSONEncoder() -> JSONEncoder", () => { + this.emitBlock("func newJSONEncoder() -> JSONEncoder", () => { this.emitLine("let encoder = JSONEncoder()"); if (!this._options.linux) { this.emitBlock("if #available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)", () => { @@ -976,9 +967,24 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); private emitSupportFunctions4 = (): void => { this.startFile("JSONSchemaSupport"); + + this.emitLine("import Foundation"); + + if ( + (!this._options.justTypes && this._options.convenienceInitializers) || + this._options.urlSession || + this._options.alamofire + ) { + this.ensureBlankLine(); + this.emitMark("Helper functions for creating encoders and decoders"); + this.ensureBlankLine(); + this.emitNewEncoderDecoder(); + } + // This assumes that this method is called after declarations // are emitted. if (this._needAny || this._needNull) { + this.ensureBlankLine(); this.emitMark("Encode/decode helpers"); this.ensureBlankLine(); this.emitMultiline(`${this.accessLevel}class JSONNull: Codable, Hashable { @@ -991,6 +997,10 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); return 0 } + public func hash(into hasher: inout Hasher) { + // No-op + } + public init() {} public required init(from decoder: Decoder) throws { @@ -1268,16 +1278,16 @@ ${this.accessLevel}class JSONAny: Codable { // t => this.namedTypeToNameForTopLevel(t) === undefined // ); - if (!this._options.justTypes) { - this.emitSupportFunctions4(); - } - this.forEachNamedType( "leading-and-interposing", (c: ClassType, className: Name) => this.renderClassDefinition(c, className), (e: EnumType, enumName: Name) => this.renderEnumDefinition(e, enumName), (u: UnionType, unionName: Name) => this.renderUnionDefinition(u, unionName) ); + + if (!this._options.justTypes) { + this.emitSupportFunctions4(); + } } private emitURLSessionExtension(className: Name) { From fe01b7f9ca55ff3107df2497645033ac517cb0b4 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Mon, 6 May 2019 21:35:56 -0400 Subject: [PATCH 04/37] Handle objects with no properties --- src/quicktype-core/ConvenienceRenderer.ts | 8 +++++++- src/quicktype-core/language/Swift.ts | 20 +++++++++++++++----- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/quicktype-core/ConvenienceRenderer.ts b/src/quicktype-core/ConvenienceRenderer.ts index c6c0eb9a2d..b9fa8d4f92 100644 --- a/src/quicktype-core/ConvenienceRenderer.ts +++ b/src/quicktype-core/ConvenienceRenderer.ts @@ -644,6 +644,12 @@ export abstract class ConvenienceRenderer extends Renderer { this._alphabetizeProperties = value; } + // Returns the number of properties defined for the specified object type. + protected propertyCount(o: ObjectType): number { + const propertyNames = defined(this._propertyNamesStoreView).get(o); + return propertyNames.size; + } + protected forEachClassProperty( o: ObjectType, blankLocations: BlankLineConfig, @@ -898,7 +904,7 @@ export abstract class ConvenienceRenderer extends Renderer { processed.add(process(t)); } - for (; ;) { + for (;;) { const maybeType = queue.pop(); if (maybeType === undefined) { break; diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 603b114031..ccfcabb327 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -677,11 +677,17 @@ export class SwiftRenderer extends ConvenienceRenderer { if (properties.length > 0) properties.push(", "); properties.push(name, ": ", this.swiftPropertyType(p)); }); - this.emitBlockWithAccess(["init(", ...properties, ")"], () => { - this.forEachClassProperty(c, "none", name => { - this.emitLine("self.", name, " = ", name); + if (this.propertyCount(c) === 0) { + this.emitBlockWithAccess(["override init()"], () => { + ""; }); - }); + } else { + this.emitBlockWithAccess(["init(", ...properties, ")"], () => { + this.forEachClassProperty(c, "none", name => { + this.emitLine("self.", name, " = ", name); + }); + }); + } } }); @@ -770,7 +776,11 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); this.emitBlockWithAccess(["extension ", className], () => { if (isClass) { this.emitBlock("convenience init(data: Data) throws", () => { - this.emitLine("let me = try newJSONDecoder().decode(", this.swiftType(c), ".self, from: data)"); + if (this.propertyCount(c) > 0) { + this.emitLine("let me = try newJSONDecoder().decode(", this.swiftType(c), ".self, from: data)"); + } else { + this.emitLine("let _ = try newJSONDecoder().decode(", this.swiftType(c), ".self, from: data)"); + } let args: Sourcelike[] = []; this.forEachClassProperty(c, "none", name => { if (args.length > 0) args.push(", "); From 94fb4d737a2398e7b8caa6dc11564e0835023e0f Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Mon, 6 May 2019 22:34:33 -0400 Subject: [PATCH 05/37] =?UTF-8?q?Make=20=E2=80=9Cdescription=E2=80=9D=20a?= =?UTF-8?q?=20keyword=20for=20the=20Swift=20renderer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s not strictly true unless you also specify Objective-C support, but harmless nonetheless. --- src/quicktype-core/language/Swift.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index ccfcabb327..37e44be53e 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -172,6 +172,7 @@ const keywords = [ "continue", "default", "defer", + "description", "do", "else", "fallthrough", From eaecb8b8fa7ef47c6f940ec7d015670b6d1f918a Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Mon, 6 May 2019 22:35:06 -0400 Subject: [PATCH 06/37] Make sure to import Foundation for enums and unions --- src/quicktype-core/language/Swift.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 37e44be53e..0ac8a1be8c 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -490,6 +490,7 @@ export class SwiftRenderer extends ConvenienceRenderer { } this.ensureBlankLine(); this.emitLine("import Foundation"); + this.ensureBlankLine(); if (!this._options.justTypes && this._options.alamofire) { this.emitLine("import Alamofire"); } @@ -827,6 +828,9 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); private renderEnumDefinition(e: EnumType, enumName: Name): void { this.startFile(enumName); + this.emitLine("import Foundation"); + this.ensureBlankLine(); + this.emitDescription(this.descriptionForType(e)); const protocols: string[] = []; @@ -865,6 +869,9 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); private renderUnionDefinition(u: UnionType, unionName: Name): void { this.startFile(unionName); + this.emitLine("import Foundation"); + this.ensureBlankLine(); + function sortBy(t: Type): string { const kind = t.kind; if (kind === "class") return kind; From a5b3a98935959434c9fbaf88d07668109dd31e3c Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Tue, 7 May 2019 08:15:11 -0400 Subject: [PATCH 07/37] Give the top level aliases the same access level as the rest of the file --- src/quicktype-core/language/Swift.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 0ac8a1be8c..9d7e46c198 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -497,7 +497,7 @@ export class SwiftRenderer extends ConvenienceRenderer { } private renderTopLevelAlias(t: Type, name: Name): void { - this.emitLine("typealias ", name, " = ", this.swiftType(t, true)); + this.emitLine(this.accessLevel, "typealias ", name, " = ", this.swiftType(t, true)); } protected getProtocolsArray(_t: Type, isClass: boolean): string[] { From b5633677d73230bfa087d90d1fb47b7166a48286 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Tue, 7 May 2019 08:15:43 -0400 Subject: [PATCH 08/37] Move the alias, array, and map emitters into the helper file --- src/quicktype-core/language/Swift.ts | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 9d7e46c198..c6a574ce85 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -578,12 +578,6 @@ export class SwiftRenderer extends ConvenienceRenderer { private renderClassDefinition(c: ClassType, className: Name): void { this.startFile(className); - this.forEachTopLevel( - "leading", - (t: Type, name: Name) => this.renderTopLevelAlias(t, name), - t => this.namedTypeToNameForTopLevel(t) === undefined - ); - this.renderHeader(); this.emitDescription(this.descriptionForType(c)); @@ -700,9 +694,6 @@ export class SwiftRenderer extends ConvenienceRenderer { this.emitMark("Convenience initializers and mutators"); this.emitConvenienceInitializersExtension(c, className); this.ensureBlankLine(); - this.forEachTopLevel("leading-and-interposing", (t: Type, name: Name) => - this.emitTopLevelMapAndArrayConvenienceInitializerExtensions(t, name) - ); } } @@ -988,6 +979,21 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); this.emitLine("import Foundation"); + // TODO: [Roo, 2019-5-6] This can't stay here… Find where it was originally and put it back + this.forEachTopLevel( + "leading", + (t: Type, name: Name) => this.renderTopLevelAlias(t, name), + t => this.namedTypeToNameForTopLevel(t) === undefined + ); + + // TODO: [Roo, 2019-5-6] This can't stay here… Find where it was originally and put it back + if (this._options.convenienceInitializers) { + this.ensureBlankLine(); + this.forEachTopLevel("leading-and-interposing", (t: Type, name: Name) => + this.emitTopLevelMapAndArrayConvenienceInitializerExtensions(t, name) + ); + } + if ( (!this._options.justTypes && this._options.convenienceInitializers) || this._options.urlSession || From 544a6bd96fa8d40c8362625f799d8e442e4ae8a3 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Tue, 7 May 2019 08:38:39 -0400 Subject: [PATCH 09/37] Manually repair merge conflict --- src/quicktype-core/language/Swift.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index c6a574ce85..bf61fa402a 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -555,6 +555,10 @@ export class SwiftRenderer extends ConvenienceRenderer { return groups; } + protected propertyLinesDefinition(name: Name, parameter: ClassProperty): Sourcelike { + return [this.accessLevel, "let ", name, ": ", this.swiftPropertyType(parameter)]; + } + /// Access level with trailing space (e.g. "public "), or empty string private get accessLevel(): string { return this._options.accessLevel === "internal" @@ -632,8 +636,9 @@ export class SwiftRenderer extends ConvenienceRenderer { } else { this.forEachClassProperty(c, "none", (name, jsonName, p) => { const description = this.descriptionForClassProperty(c, jsonName); + const propertyLines = this.propertyLinesDefinition(name, p); this.emitDescription(description); - this.emitLine(this.accessLevel, "let ", name, ": ", this.swiftPropertyType(p)); + this.emitLine(propertyLines); }); } From 2e965c6743b39cecf880f804bce5bb5a5699e244 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Tue, 7 May 2019 14:37:33 -0400 Subject: [PATCH 10/37] =?UTF-8?q?Get=20rid=20of=20a=20file=20we=20don?= =?UTF-8?q?=E2=80=99t=20need=20anymore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/fixtures/swift/quicktype.swift | 6386 --------------------------- 1 file changed, 6386 deletions(-) delete mode 100644 test/fixtures/swift/quicktype.swift diff --git a/test/fixtures/swift/quicktype.swift b/test/fixtures/swift/quicktype.swift deleted file mode 100644 index adfca646df..0000000000 --- a/test/fixtures/swift/quicktype.swift +++ /dev/null @@ -1,6386 +0,0 @@ -// To parse the JSON, add this file to your project and do: -// -// guard let topLevel = try TopLevel(json) else { ... } - -import Foundation - -class TopLevel: Codable { - let abranchiata: [Abranchiata] - let academe: [Academe] - let acquirable: [Acquirable] - let aerometry: [Aerometry] - let alexin: [Alexin] - let alleviate: [Alleviate] - let amaas: [Amaa] - let ambassage: [Ambassage] - let amphithyron: [Amphithyron?] - let andriana: [String?] - let ankee: [Ankee] - let annihilator: [[String: Int?]?] - let annulose: JSONNull? - let ansarie: [Ansarie] - let aphasia: [Aphasia] - let asprawl: [Asprawl] - let attractive: [Bool?] - let barksome: [String: Int] - let bedesman: [Bedesman] - let belard: [Belard] - let bocking: [Bocking] - let brawlingly: [Brawlingly] - let brookie: [Brookie] - let bumboatman: [Bumboatman] - let bystreet: [JSONNull?] - let calaverite: [Calaverite] - let catallactic: [Catallactic] - let cemental: [Cemental] - let centrodesmose: String - let cerograph: [Cerograph] - let chemotherapeutics: [ChemotherapeuticUnion] - let chytridiaceae: [Chytridiaceae] - let cimelia: [Cimelia] - let citrated: Int - let clinodome: [Asprawl] - let coadjust: [CoadjustUnion] - let consilience: [Consilience] - let constructor: [Constructor] - let continuative: [Continuative] - let credulity: [Credulity] - let creviced: [Creviced] - let cubiculum: [[Int?]] - let deruralize: [Deruralize] - let diaereses: [Diaerese] - let discordia: [DiscordiaUnion] - let dissolution: [[JSONNull?]?] - let downstroke: [Downstroke] - let electrotautomerism: [Double?] - let eleutheromania: [Eleutheromania] - let encrust: [String: JSONNull?] - let endomyces: [Endomyce] - let entomoid: [Entomoid] - let epinephelidae: [Epinephelidae] - let epipaleolithic: [Epipaleolithic] - let eupatorium: [Eupatorium] - let expropriable: [Expropriable] - let faggingly: [Faggingly] - let fenks: [Fenk] - let flagmaking: [Flagmaking] - let fluorometer: [Fluorometer] - let fulsome: [Int?] - let fuzzy: [Fuzzy] - let gardenwards: [Gardenward] - let generalissimo: [Generalissimo] - let gryphosaurus: [Gryphosaurus] - let habeas: [[String: Int]?] - let hemicrystalline: [Hemicrystalline] - let hemocoele: [HemocoeleUnion] - let hoister: [Hoister] - let hyperpiesis: [Hyperpiesi] - let hyppish: [Hyppish] - let idealizer: [Idealizer] - let incrustator: [Incrustator] - let intentiveness: [Intentiveness] - let interacinar: Interacinar - let intercorrelation: [[Int]?] - let jacutinga: [Jacutinga] - let juror: [Juror] - let kongoni: [Kongoni] - let koryak: [Koryak] - let ladronism: [Ladronism] - let landlubberly: [Landlubberly] - let lavinia: [LaviniaUnion] - let listener: [Listener] - let lupus: [LupusUnion] - let maslin: [Maslin] - let monazite: [Monazite] - let monoliteral: [Monoliteral] - let monotheistically: [MonotheisticallyUnion] - let montage: [Montage] - let moralness: [Moralness] - let mowra: [RebeccaClass?] - let mulishly: [Mulishly] - let myoscope: [Myoscope] - let nach: [[Int?]?] - let neuromastic: [Neuromastic] - let noncontributing: [Noncontributing] - let nonnervous: [Nonnervous] - let nonvaluation: [Nonvaluation] - let occupationalist: [Occupationalist] - let oskar: [Oskar] - let outrival: [Outrival] - let paleographically: [Paleographically] - let pamphletwise: [Pamphletwise] - let pediatrics: [Pediatric] - let perceptive: [Bool] - let piaculum: [PiaculumUnion] - let piccadilly: [Piccadilly] - let piffler: [Piffler] - let pithful: [Pithful] - let placuntitis: [Placuntiti] - let plectopterous: [Consilience] - let pneumocele: [Pneumocele?] - let poliorcetic: [Poliorcetic] - let poormaster: [Poormaster] - let potwhisky: [Potwhisky] - let practicalizer: [Practicalizer] - let prefreshman: [Prefreshman] - let prehensility: [Prehensility] - let prevoidance: [Prevoidance] - let probant: [[String: Int?]] - let protext: [Protext] - let protrusive: [Protrusive] - let pulpitism: [Pulpitism] - let pyodermia: [Pyodermia] - let quebrachine: [Quebrachine] - let querier: [Querier] - let rebarbative: [Rebarbative] - let rebecca: [RebeccaUnion] - let reimagine: [Reimagine] - let ressaut: [String: String] - let retrocervical: [Retrocervical] - let revert: [Revert] - let rewrite: [Rewrite] - let rhomboganoidei: [Rhomboganoidei] - let rigsmal: Bool - let ruellia: [Ruellia] - let saccoderm: [Saccoderm] - let santir: [Faggingly] - let saprophilous: [Saprophilous] - let saxten: [SaxtenUnion] - let scatty: [[String: JSONNull?]?] - let school: [School] - let scoffer: [Scoffer] - let scrampum: [Scrampum] - let semantic: Double - let serpentinic: [Epipaleolithic] - let shadowable: [Shadowable] - let shakespearolater: [Shakespearolater] - let sistering: [Sistering] - let staghunting: [Staghunting] - let stagmometer: [Stagmometer] - let stimulability: [Stimulability] - let strangleable: [Neuromastic] - let strenuosity: [StrenuosityUnion] - let svan: [Double] - let tabaxir: [Aerometry] - let talpiform: [Talpiform] - let thwack: [Thwack] - let to: [Double?] - let tortricine: [Tortricine] - let truantcy: [TruantcyUnion] - let turgesce: [String] - let unbeginning: [Unbeginning] - let underdunged: [Double] - let undesirability: [Undesirability] - let unerasing: [Unerasing] - let unguentarium: [Unguentarium] - let unimpeachably: [UnimpeachablyUnion] - let unmortgaged: [Unmortgaged] - let unobstructed: [Unobstructed] - let unreceptivity: [Unreceptivity] - let unsatisfactoriness: [Unsatisfactoriness] - let unsecurity: [Int] - let unstressed: [Unstressed] - let untasked: [Untasked] - let unvarying: [Unvarying] - let vehemently: [Vehemently] - let warriorship: [String: Bool] - let wayao: [String: Double] - let whitepot: [Monazite] - let wrothy: [Wrothy] - - enum CodingKeys: String, CodingKey { - case abranchiata = "Abranchiata" - case academe, acquirable, aerometry, alexin, alleviate, amaas, ambassage, amphithyron - case andriana = "Andriana" - case ankee, annihilator, annulose - case ansarie = "Ansarie" - case aphasia, asprawl, attractive, barksome, bedesman, belard, bocking, brawlingly, brookie, bumboatman, bystreet, calaverite, catallactic, cemental, centrodesmose, cerograph, chemotherapeutics - case chytridiaceae = "Chytridiaceae" - case cimelia, citrated, clinodome, coadjust, consilience, constructor, continuative, credulity, creviced, cubiculum, deruralize, diaereses - case discordia = "Discordia" - case dissolution, downstroke, electrotautomerism, eleutheromania, encrust - case endomyces = "Endomyces" - case entomoid - case epinephelidae = "Epinephelidae" - case epipaleolithic - case eupatorium = "Eupatorium" - case expropriable, faggingly, fenks, flagmaking, fluorometer, fulsome, fuzzy, gardenwards, generalissimo - case gryphosaurus = "Gryphosaurus" - case habeas, hemicrystalline, hemocoele, hoister, hyperpiesis, hyppish, idealizer, incrustator, intentiveness, interacinar, intercorrelation, jacutinga, juror, kongoni - case koryak = "Koryak" - case ladronism, landlubberly - case lavinia = "Lavinia" - case listener, lupus, maslin, monazite, monoliteral, monotheistically, montage, moralness, mowra, mulishly, myoscope, nach, neuromastic, noncontributing, nonnervous, nonvaluation, occupationalist - case oskar = "Oskar" - case outrival, paleographically, pamphletwise, pediatrics, perceptive, piaculum, piccadilly, piffler, pithful, placuntitis, plectopterous, pneumocele, poliorcetic, poormaster, potwhisky, practicalizer, prefreshman, prehensility, prevoidance, probant, protext, protrusive, pulpitism, pyodermia, quebrachine, querier, rebarbative - case rebecca = "Rebecca" - case reimagine, ressaut, retrocervical, revert, rewrite - case rhomboganoidei = "Rhomboganoidei" - case rigsmal = "Rigsmal" - case ruellia = "Ruellia" - case saccoderm, santir, saprophilous, saxten, scatty - case school = "School" - case scoffer, scrampum, semantic, serpentinic, shadowable - case shakespearolater = "Shakespearolater" - case sistering, staghunting, stagmometer, stimulability, strangleable, strenuosity - case svan = "Svan" - case tabaxir, talpiform, thwack, to, tortricine, truantcy, turgesce, unbeginning, underdunged, undesirability, unerasing, unguentarium, unimpeachably, unmortgaged, unobstructed, unreceptivity, unsatisfactoriness, unsecurity, unstressed, untasked, unvarying, vehemently, warriorship - case wayao = "Wayao" - case whitepot, wrothy - } - - init(abranchiata: [Abranchiata], academe: [Academe], acquirable: [Acquirable], aerometry: [Aerometry], alexin: [Alexin], alleviate: [Alleviate], amaas: [Amaa], ambassage: [Ambassage], amphithyron: [Amphithyron?], andriana: [String?], ankee: [Ankee], annihilator: [[String: Int?]?], annulose: JSONNull?, ansarie: [Ansarie], aphasia: [Aphasia], asprawl: [Asprawl], attractive: [Bool?], barksome: [String: Int], bedesman: [Bedesman], belard: [Belard], bocking: [Bocking], brawlingly: [Brawlingly], brookie: [Brookie], bumboatman: [Bumboatman], bystreet: [JSONNull?], calaverite: [Calaverite], catallactic: [Catallactic], cemental: [Cemental], centrodesmose: String, cerograph: [Cerograph], chemotherapeutics: [ChemotherapeuticUnion], chytridiaceae: [Chytridiaceae], cimelia: [Cimelia], citrated: Int, clinodome: [Asprawl], coadjust: [CoadjustUnion], consilience: [Consilience], constructor: [Constructor], continuative: [Continuative], credulity: [Credulity], creviced: [Creviced], cubiculum: [[Int?]], deruralize: [Deruralize], diaereses: [Diaerese], discordia: [DiscordiaUnion], dissolution: [[JSONNull?]?], downstroke: [Downstroke], electrotautomerism: [Double?], eleutheromania: [Eleutheromania], encrust: [String: JSONNull?], endomyces: [Endomyce], entomoid: [Entomoid], epinephelidae: [Epinephelidae], epipaleolithic: [Epipaleolithic], eupatorium: [Eupatorium], expropriable: [Expropriable], faggingly: [Faggingly], fenks: [Fenk], flagmaking: [Flagmaking], fluorometer: [Fluorometer], fulsome: [Int?], fuzzy: [Fuzzy], gardenwards: [Gardenward], generalissimo: [Generalissimo], gryphosaurus: [Gryphosaurus], habeas: [[String: Int]?], hemicrystalline: [Hemicrystalline], hemocoele: [HemocoeleUnion], hoister: [Hoister], hyperpiesis: [Hyperpiesi], hyppish: [Hyppish], idealizer: [Idealizer], incrustator: [Incrustator], intentiveness: [Intentiveness], interacinar: Interacinar, intercorrelation: [[Int]?], jacutinga: [Jacutinga], juror: [Juror], kongoni: [Kongoni], koryak: [Koryak], ladronism: [Ladronism], landlubberly: [Landlubberly], lavinia: [LaviniaUnion], listener: [Listener], lupus: [LupusUnion], maslin: [Maslin], monazite: [Monazite], monoliteral: [Monoliteral], monotheistically: [MonotheisticallyUnion], montage: [Montage], moralness: [Moralness], mowra: [RebeccaClass?], mulishly: [Mulishly], myoscope: [Myoscope], nach: [[Int?]?], neuromastic: [Neuromastic], noncontributing: [Noncontributing], nonnervous: [Nonnervous], nonvaluation: [Nonvaluation], occupationalist: [Occupationalist], oskar: [Oskar], outrival: [Outrival], paleographically: [Paleographically], pamphletwise: [Pamphletwise], pediatrics: [Pediatric], perceptive: [Bool], piaculum: [PiaculumUnion], piccadilly: [Piccadilly], piffler: [Piffler], pithful: [Pithful], placuntitis: [Placuntiti], plectopterous: [Consilience], pneumocele: [Pneumocele?], poliorcetic: [Poliorcetic], poormaster: [Poormaster], potwhisky: [Potwhisky], practicalizer: [Practicalizer], prefreshman: [Prefreshman], prehensility: [Prehensility], prevoidance: [Prevoidance], probant: [[String: Int?]], protext: [Protext], protrusive: [Protrusive], pulpitism: [Pulpitism], pyodermia: [Pyodermia], quebrachine: [Quebrachine], querier: [Querier], rebarbative: [Rebarbative], rebecca: [RebeccaUnion], reimagine: [Reimagine], ressaut: [String: String], retrocervical: [Retrocervical], revert: [Revert], rewrite: [Rewrite], rhomboganoidei: [Rhomboganoidei], rigsmal: Bool, ruellia: [Ruellia], saccoderm: [Saccoderm], santir: [Faggingly], saprophilous: [Saprophilous], saxten: [SaxtenUnion], scatty: [[String: JSONNull?]?], school: [School], scoffer: [Scoffer], scrampum: [Scrampum], semantic: Double, serpentinic: [Epipaleolithic], shadowable: [Shadowable], shakespearolater: [Shakespearolater], sistering: [Sistering], staghunting: [Staghunting], stagmometer: [Stagmometer], stimulability: [Stimulability], strangleable: [Neuromastic], strenuosity: [StrenuosityUnion], svan: [Double], tabaxir: [Aerometry], talpiform: [Talpiform], thwack: [Thwack], to: [Double?], tortricine: [Tortricine], truantcy: [TruantcyUnion], turgesce: [String], unbeginning: [Unbeginning], underdunged: [Double], undesirability: [Undesirability], unerasing: [Unerasing], unguentarium: [Unguentarium], unimpeachably: [UnimpeachablyUnion], unmortgaged: [Unmortgaged], unobstructed: [Unobstructed], unreceptivity: [Unreceptivity], unsatisfactoriness: [Unsatisfactoriness], unsecurity: [Int], unstressed: [Unstressed], untasked: [Untasked], unvarying: [Unvarying], vehemently: [Vehemently], warriorship: [String: Bool], wayao: [String: Double], whitepot: [Monazite], wrothy: [Wrothy]) { - self.abranchiata = abranchiata - self.academe = academe - self.acquirable = acquirable - self.aerometry = aerometry - self.alexin = alexin - self.alleviate = alleviate - self.amaas = amaas - self.ambassage = ambassage - self.amphithyron = amphithyron - self.andriana = andriana - self.ankee = ankee - self.annihilator = annihilator - self.annulose = annulose - self.ansarie = ansarie - self.aphasia = aphasia - self.asprawl = asprawl - self.attractive = attractive - self.barksome = barksome - self.bedesman = bedesman - self.belard = belard - self.bocking = bocking - self.brawlingly = brawlingly - self.brookie = brookie - self.bumboatman = bumboatman - self.bystreet = bystreet - self.calaverite = calaverite - self.catallactic = catallactic - self.cemental = cemental - self.centrodesmose = centrodesmose - self.cerograph = cerograph - self.chemotherapeutics = chemotherapeutics - self.chytridiaceae = chytridiaceae - self.cimelia = cimelia - self.citrated = citrated - self.clinodome = clinodome - self.coadjust = coadjust - self.consilience = consilience - self.constructor = constructor - self.continuative = continuative - self.credulity = credulity - self.creviced = creviced - self.cubiculum = cubiculum - self.deruralize = deruralize - self.diaereses = diaereses - self.discordia = discordia - self.dissolution = dissolution - self.downstroke = downstroke - self.electrotautomerism = electrotautomerism - self.eleutheromania = eleutheromania - self.encrust = encrust - self.endomyces = endomyces - self.entomoid = entomoid - self.epinephelidae = epinephelidae - self.epipaleolithic = epipaleolithic - self.eupatorium = eupatorium - self.expropriable = expropriable - self.faggingly = faggingly - self.fenks = fenks - self.flagmaking = flagmaking - self.fluorometer = fluorometer - self.fulsome = fulsome - self.fuzzy = fuzzy - self.gardenwards = gardenwards - self.generalissimo = generalissimo - self.gryphosaurus = gryphosaurus - self.habeas = habeas - self.hemicrystalline = hemicrystalline - self.hemocoele = hemocoele - self.hoister = hoister - self.hyperpiesis = hyperpiesis - self.hyppish = hyppish - self.idealizer = idealizer - self.incrustator = incrustator - self.intentiveness = intentiveness - self.interacinar = interacinar - self.intercorrelation = intercorrelation - self.jacutinga = jacutinga - self.juror = juror - self.kongoni = kongoni - self.koryak = koryak - self.ladronism = ladronism - self.landlubberly = landlubberly - self.lavinia = lavinia - self.listener = listener - self.lupus = lupus - self.maslin = maslin - self.monazite = monazite - self.monoliteral = monoliteral - self.monotheistically = monotheistically - self.montage = montage - self.moralness = moralness - self.mowra = mowra - self.mulishly = mulishly - self.myoscope = myoscope - self.nach = nach - self.neuromastic = neuromastic - self.noncontributing = noncontributing - self.nonnervous = nonnervous - self.nonvaluation = nonvaluation - self.occupationalist = occupationalist - self.oskar = oskar - self.outrival = outrival - self.paleographically = paleographically - self.pamphletwise = pamphletwise - self.pediatrics = pediatrics - self.perceptive = perceptive - self.piaculum = piaculum - self.piccadilly = piccadilly - self.piffler = piffler - self.pithful = pithful - self.placuntitis = placuntitis - self.plectopterous = plectopterous - self.pneumocele = pneumocele - self.poliorcetic = poliorcetic - self.poormaster = poormaster - self.potwhisky = potwhisky - self.practicalizer = practicalizer - self.prefreshman = prefreshman - self.prehensility = prehensility - self.prevoidance = prevoidance - self.probant = probant - self.protext = protext - self.protrusive = protrusive - self.pulpitism = pulpitism - self.pyodermia = pyodermia - self.quebrachine = quebrachine - self.querier = querier - self.rebarbative = rebarbative - self.rebecca = rebecca - self.reimagine = reimagine - self.ressaut = ressaut - self.retrocervical = retrocervical - self.revert = revert - self.rewrite = rewrite - self.rhomboganoidei = rhomboganoidei - self.rigsmal = rigsmal - self.ruellia = ruellia - self.saccoderm = saccoderm - self.santir = santir - self.saprophilous = saprophilous - self.saxten = saxten - self.scatty = scatty - self.school = school - self.scoffer = scoffer - self.scrampum = scrampum - self.semantic = semantic - self.serpentinic = serpentinic - self.shadowable = shadowable - self.shakespearolater = shakespearolater - self.sistering = sistering - self.staghunting = staghunting - self.stagmometer = stagmometer - self.stimulability = stimulability - self.strangleable = strangleable - self.strenuosity = strenuosity - self.svan = svan - self.tabaxir = tabaxir - self.talpiform = talpiform - self.thwack = thwack - self.to = to - self.tortricine = tortricine - self.truantcy = truantcy - self.turgesce = turgesce - self.unbeginning = unbeginning - self.underdunged = underdunged - self.undesirability = undesirability - self.unerasing = unerasing - self.unguentarium = unguentarium - self.unimpeachably = unimpeachably - self.unmortgaged = unmortgaged - self.unobstructed = unobstructed - self.unreceptivity = unreceptivity - self.unsatisfactoriness = unsatisfactoriness - self.unsecurity = unsecurity - self.unstressed = unstressed - self.untasked = untasked - self.unvarying = unvarying - self.vehemently = vehemently - self.warriorship = warriorship - self.wayao = wayao - self.whitepot = whitepot - self.wrothy = wrothy - } -} - -enum Abranchiata: Codable { - case integer(Int) - case integerArray([Int]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Abranchiata.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Abranchiata")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Academe: Codable { - case integer(Int) - case integerArray([Int]) - case integerMap([String: Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Academe.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Academe")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - } - } -} - -enum Acquirable: Codable { - case integerMap([String: Int]) - case unionArray([Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([Int?].self) { - self = .unionArray(x) - return - } - throw DecodingError.typeMismatch(Acquirable.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Acquirable")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerMap(let x): - try container.encode(x) - case .unionArray(let x): - try container.encode(x) - } - } -} - -enum Aerometry: Codable { - case bool(Bool) - case double(Double) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - throw DecodingError.typeMismatch(Aerometry.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Aerometry")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .double(let x): - try container.encode(x) - } - } -} - -enum Alexin: Codable { - case bool(Bool) - case integerArray([Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Alexin.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Alexin")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - } - } -} - -enum Alleviate: Codable { - case nullMap([String: JSONNull?]) - case unionArray([Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([Int?].self) { - self = .unionArray(x) - return - } - throw DecodingError.typeMismatch(Alleviate.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Alleviate")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullMap(let x): - try container.encode(x) - case .unionArray(let x): - try container.encode(x) - } - } -} - -enum Amaa: Codable { - case bool(Bool) - case integer(Int) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - throw DecodingError.typeMismatch(Amaa.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Amaa")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integer(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -class RebeccaClass: Codable { - let catharticalness: Double - let chirotherium: Int - let disdiapason: String - let homocerc: Bool - let nonbookish: JSONNull? - - enum CodingKeys: String, CodingKey { - case catharticalness - case chirotherium = "Chirotherium" - case disdiapason, homocerc, nonbookish - } - - init(catharticalness: Double, chirotherium: Int, disdiapason: String, homocerc: Bool, nonbookish: JSONNull?) { - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.disdiapason = disdiapason - self.homocerc = homocerc - self.nonbookish = nonbookish - } -} - -enum Ambassage: Codable { - case nullArray([JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Ambassage.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Ambassage")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -class Amphithyron: Codable { - let akroasis, antiphonical, basebred: Int? - let catharticalness: Double? - let chirotherium, conductometric: Int? - let disdiapason: String? - let ensilation, eyebolt, fistulated, heteropod: Int? - let homocerc: Bool? - let juniperus, labyrinthically, martyrization, mispolicy: Int? - let multipara, nazirite: Int? - let nonbookish: JSONNull? - let possessorial, shamed, shelfworn, stagnum: Int? - let those, undecimal: Int? - - enum CodingKeys: String, CodingKey { - case akroasis, antiphonical, basebred, catharticalness - case chirotherium = "Chirotherium" - case conductometric, disdiapason, ensilation, eyebolt, fistulated, heteropod, homocerc - case juniperus = "Juniperus" - case labyrinthically, martyrization, mispolicy, multipara - case nazirite = "Nazirite" - case nonbookish, possessorial, shamed, shelfworn, stagnum - case those = "Those" - case undecimal - } - - init(akroasis: Int?, antiphonical: Int?, basebred: Int?, catharticalness: Double?, chirotherium: Int?, conductometric: Int?, disdiapason: String?, ensilation: Int?, eyebolt: Int?, fistulated: Int?, heteropod: Int?, homocerc: Bool?, juniperus: Int?, labyrinthically: Int?, martyrization: Int?, mispolicy: Int?, multipara: Int?, nazirite: Int?, nonbookish: JSONNull?, possessorial: Int?, shamed: Int?, shelfworn: Int?, stagnum: Int?, those: Int?, undecimal: Int?) { - self.akroasis = akroasis - self.antiphonical = antiphonical - self.basebred = basebred - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.conductometric = conductometric - self.disdiapason = disdiapason - self.ensilation = ensilation - self.eyebolt = eyebolt - self.fistulated = fistulated - self.heteropod = heteropod - self.homocerc = homocerc - self.juniperus = juniperus - self.labyrinthically = labyrinthically - self.martyrization = martyrization - self.mispolicy = mispolicy - self.multipara = multipara - self.nazirite = nazirite - self.nonbookish = nonbookish - self.possessorial = possessorial - self.shamed = shamed - self.shelfworn = shelfworn - self.stagnum = stagnum - self.those = those - self.undecimal = undecimal - } -} - -enum Ankee: Codable { - case integer(Int) - case integerArray([Int]) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Ankee.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Ankee")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum Ansarie: Codable { - case integerArray([Int]) - case nullMap([String: JSONNull?]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Ansarie.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Ansarie")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Aphasia: Codable { - case integer(Int) - case integerArray([Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Aphasia.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Aphasia")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - } - } -} - -enum Asprawl: Codable { - case double(Double) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - throw DecodingError.typeMismatch(Asprawl.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Asprawl")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Bedesman: Codable { - case bool(Bool) - case double(Double) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - throw DecodingError.typeMismatch(Bedesman.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Bedesman")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .double(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Belard: Codable { - case double(Double) - case integerArray([Int]) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Belard.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Belard")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Bocking: Codable { - case bool(Bool) - case integerArray([Int]) - case integerMap([String: Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Bocking.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Bocking")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - } - } -} - -enum Brawlingly: Codable { - case nullArray([JSONNull?]) - case unionMap([String: Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: Int?].self) { - self = .unionMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Brawlingly.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Brawlingly")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullArray(let x): - try container.encode(x) - case .unionMap(let x): - try container.encode(x) - } - } -} - -enum Brookie: Codable { - case integerArray([Int]) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Brookie.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Brookie")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Bumboatman: Codable { - case nullArray([JSONNull?]) - case string(String) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Bumboatman.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Bumboatman")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Calaverite: Codable { - case integerArray([Int]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Calaverite.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Calaverite")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Catallactic: Codable { - case bool(Bool) - case integerMap([String: Int]) - case nullArray([JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Catallactic.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Catallactic")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - } - } -} - -enum Cemental: Codable { - case double(Double) - case integerArray([Int]) - case integerMap([String: Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Cemental.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Cemental")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - } - } -} - -enum Cerograph: Codable { - case nullMap([String: JSONNull?]) - case string(String) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Cerograph.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Cerograph")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum ChemotherapeuticUnion: Codable { - case chemotherapeuticClass(ChemotherapeuticClass) - case integer(Int) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(ChemotherapeuticClass.self) { - self = .chemotherapeuticClass(x) - return - } - throw DecodingError.typeMismatch(ChemotherapeuticUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for ChemotherapeuticUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .chemotherapeuticClass(let x): - try container.encode(x) - case .integer(let x): - try container.encode(x) - } - } -} - -class ChemotherapeuticClass: Codable { - let angioneurotic, availment, bladelet: JSONNull? - let catharticalness: Double? - let caulis, chalcus: JSONNull? - let chirotherium: Int? - let disdiapason: String? - let enteradenological: JSONNull? - let homocerc: Bool? - let imporosity, insistently, intraparietal, ivied: JSONNull? - let maureen, nonbookish, nostochine, nutcracker: JSONNull? - let ofttimes, phenocryst, precoincident, ramiferous: JSONNull? - let stagmometer, tetherball, unshy: JSONNull? - - enum CodingKeys: String, CodingKey { - case angioneurotic, availment, bladelet, catharticalness, caulis, chalcus - case chirotherium = "Chirotherium" - case disdiapason, enteradenological, homocerc, imporosity, insistently, intraparietal, ivied - case maureen = "Maureen" - case nonbookish, nostochine, nutcracker, ofttimes, phenocryst, precoincident, ramiferous, stagmometer, tetherball, unshy - } - - init(angioneurotic: JSONNull?, availment: JSONNull?, bladelet: JSONNull?, catharticalness: Double?, caulis: JSONNull?, chalcus: JSONNull?, chirotherium: Int?, disdiapason: String?, enteradenological: JSONNull?, homocerc: Bool?, imporosity: JSONNull?, insistently: JSONNull?, intraparietal: JSONNull?, ivied: JSONNull?, maureen: JSONNull?, nonbookish: JSONNull?, nostochine: JSONNull?, nutcracker: JSONNull?, ofttimes: JSONNull?, phenocryst: JSONNull?, precoincident: JSONNull?, ramiferous: JSONNull?, stagmometer: JSONNull?, tetherball: JSONNull?, unshy: JSONNull?) { - self.angioneurotic = angioneurotic - self.availment = availment - self.bladelet = bladelet - self.catharticalness = catharticalness - self.caulis = caulis - self.chalcus = chalcus - self.chirotherium = chirotherium - self.disdiapason = disdiapason - self.enteradenological = enteradenological - self.homocerc = homocerc - self.imporosity = imporosity - self.insistently = insistently - self.intraparietal = intraparietal - self.ivied = ivied - self.maureen = maureen - self.nonbookish = nonbookish - self.nostochine = nostochine - self.nutcracker = nutcracker - self.ofttimes = ofttimes - self.phenocryst = phenocryst - self.precoincident = precoincident - self.ramiferous = ramiferous - self.stagmometer = stagmometer - self.tetherball = tetherball - self.unshy = unshy - } -} - -enum Chytridiaceae: Codable { - case bool(Bool) - case nullMap([String: JSONNull?]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Chytridiaceae.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Chytridiaceae")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Cimelia: Codable { - case integerArray([Int]) - case rebeccaClass(RebeccaClass) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Cimelia.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Cimelia")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum CoadjustUnion: Codable { - case coadjustClass(CoadjustClass) - case double(Double) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(CoadjustClass.self) { - self = .coadjustClass(x) - return - } - throw DecodingError.typeMismatch(CoadjustUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for CoadjustUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .coadjustClass(let x): - try container.encode(x) - case .double(let x): - try container.encode(x) - } - } -} - -class CoadjustClass: Codable { - let amidosulphonal, benny: JSONNull? - let catharticalness: Double? - let chirotherium: Int? - let disdiapason: String? - let ensnare: JSONNull? - let homocerc: Bool? - let hybridizer, leastwise, lof, monkhood: JSONNull? - let netherlandish, nonbookish, peonism, phonelescope: JSONNull? - let porphyrogeniture, preindemnify, rosal, scalenous: JSONNull? - let scopine, sedaceae, suberinize, symbiot: JSONNull? - let tablefellow, unchargeable: JSONNull? - - enum CodingKeys: String, CodingKey { - case amidosulphonal - case benny = "Benny" - case catharticalness - case chirotherium = "Chirotherium" - case disdiapason, ensnare, homocerc, hybridizer, leastwise, lof, monkhood - case netherlandish = "Netherlandish" - case nonbookish, peonism - case phonelescope = "Phonelescope" - case porphyrogeniture, preindemnify, rosal, scalenous, scopine - case sedaceae = "Sedaceae" - case suberinize, symbiot, tablefellow, unchargeable - } - - init(amidosulphonal: JSONNull?, benny: JSONNull?, catharticalness: Double?, chirotherium: Int?, disdiapason: String?, ensnare: JSONNull?, homocerc: Bool?, hybridizer: JSONNull?, leastwise: JSONNull?, lof: JSONNull?, monkhood: JSONNull?, netherlandish: JSONNull?, nonbookish: JSONNull?, peonism: JSONNull?, phonelescope: JSONNull?, porphyrogeniture: JSONNull?, preindemnify: JSONNull?, rosal: JSONNull?, scalenous: JSONNull?, scopine: JSONNull?, sedaceae: JSONNull?, suberinize: JSONNull?, symbiot: JSONNull?, tablefellow: JSONNull?, unchargeable: JSONNull?) { - self.amidosulphonal = amidosulphonal - self.benny = benny - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.disdiapason = disdiapason - self.ensnare = ensnare - self.homocerc = homocerc - self.hybridizer = hybridizer - self.leastwise = leastwise - self.lof = lof - self.monkhood = monkhood - self.netherlandish = netherlandish - self.nonbookish = nonbookish - self.peonism = peonism - self.phonelescope = phonelescope - self.porphyrogeniture = porphyrogeniture - self.preindemnify = preindemnify - self.rosal = rosal - self.scalenous = scalenous - self.scopine = scopine - self.sedaceae = sedaceae - self.suberinize = suberinize - self.symbiot = symbiot - self.tablefellow = tablefellow - self.unchargeable = unchargeable - } -} - -enum Consilience: Codable { - case double(Double) - case integerMap([String: Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - throw DecodingError.typeMismatch(Consilience.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Consilience")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - } - } -} - -enum Constructor: Codable { - case bool(Bool) - case unionMap([String: Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([String: Int?].self) { - self = .unionMap(x) - return - } - throw DecodingError.typeMismatch(Constructor.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Constructor")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .unionMap(let x): - try container.encode(x) - } - } -} - -enum Continuative: Codable { - case integerMap([String: Int]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - throw DecodingError.typeMismatch(Continuative.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Continuative")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Credulity: Codable { - case integer(Int) - case nullMap([String: JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - throw DecodingError.typeMismatch(Credulity.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Credulity")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Creviced: Codable { - case bool(Bool) - case integerMap([String: Int]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - throw DecodingError.typeMismatch(Creviced.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Creviced")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Deruralize: Codable { - case bool(Bool) - case nullArray([JSONNull?]) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Deruralize.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Deruralize")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum Diaerese: Codable { - case bool(Bool) - case integerArray([Int]) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Diaerese.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Diaerese")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum DiscordiaUnion: Codable { - case discordiaClass(DiscordiaClass) - case integerArray([Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(DiscordiaClass.self) { - self = .discordiaClass(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(DiscordiaUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for DiscordiaUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .discordiaClass(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - } - } -} - -class DiscordiaClass: Codable { - let altaic, amoristic, blennophthalmia: Int? - let catharticalness: Double? - let chirotherium, disciplinability: Int? - let disdiapason: String? - let goofer: Int? - let homocerc: Bool? - let laryngograph, leucitis, lymphocyst, microcosmology: Int? - let nauseation: Int? - let nonbookish: JSONNull? - let patarin, preliberal, prettifier, rangework: Int? - let redient, subfusiform, suicidical, swow: Int? - let wastrel, wingle: Int? - - enum CodingKeys: String, CodingKey { - case altaic = "Altaic" - case amoristic, blennophthalmia, catharticalness - case chirotherium = "Chirotherium" - case disciplinability, disdiapason, goofer, homocerc, laryngograph, leucitis, lymphocyst, microcosmology, nauseation, nonbookish - case patarin = "Patarin" - case preliberal, prettifier, rangework, redient, subfusiform, suicidical, swow, wastrel, wingle - } - - init(altaic: Int?, amoristic: Int?, blennophthalmia: Int?, catharticalness: Double?, chirotherium: Int?, disciplinability: Int?, disdiapason: String?, goofer: Int?, homocerc: Bool?, laryngograph: Int?, leucitis: Int?, lymphocyst: Int?, microcosmology: Int?, nauseation: Int?, nonbookish: JSONNull?, patarin: Int?, preliberal: Int?, prettifier: Int?, rangework: Int?, redient: Int?, subfusiform: Int?, suicidical: Int?, swow: Int?, wastrel: Int?, wingle: Int?) { - self.altaic = altaic - self.amoristic = amoristic - self.blennophthalmia = blennophthalmia - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.disciplinability = disciplinability - self.disdiapason = disdiapason - self.goofer = goofer - self.homocerc = homocerc - self.laryngograph = laryngograph - self.leucitis = leucitis - self.lymphocyst = lymphocyst - self.microcosmology = microcosmology - self.nauseation = nauseation - self.nonbookish = nonbookish - self.patarin = patarin - self.preliberal = preliberal - self.prettifier = prettifier - self.rangework = rangework - self.redient = redient - self.subfusiform = subfusiform - self.suicidical = suicidical - self.swow = swow - self.wastrel = wastrel - self.wingle = wingle - } -} - -enum Downstroke: Codable { - case bool(Bool) - case nullArray([JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Downstroke.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Downstroke")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Eleutheromania: Codable { - case double(Double) - case integerMap([String: Int]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - throw DecodingError.typeMismatch(Eleutheromania.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Eleutheromania")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Endomyce: Codable { - case integer(Int) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - throw DecodingError.typeMismatch(Endomyce.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Endomyce")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Entomoid: Codable { - case integer(Int) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - throw DecodingError.typeMismatch(Entomoid.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Entomoid")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Epinephelidae: Codable { - case bool(Bool) - case integer(Int) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - throw DecodingError.typeMismatch(Epinephelidae.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Epinephelidae")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integer(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Epipaleolithic: Codable { - case double(Double) - case integerArray([Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Epipaleolithic.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Epipaleolithic")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - } - } -} - -enum Eupatorium: Codable { - case integerMap([String: Int]) - case nullArray([JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Eupatorium.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Eupatorium")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerMap(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - } - } -} - -enum Expropriable: Codable { - case double(Double) - case nullArray([JSONNull?]) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Expropriable.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Expropriable")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Faggingly: Codable { - case double(Double) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - throw DecodingError.typeMismatch(Faggingly.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Faggingly")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum Fenk: Codable { - case nullMap([String: JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - throw DecodingError.typeMismatch(Fenk.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Fenk")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Flagmaking: Codable { - case bool(Bool) - case double(Double) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - throw DecodingError.typeMismatch(Flagmaking.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Flagmaking")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .double(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum Fluorometer: Codable { - case integer(Int) - case string(String) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Fluorometer.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Fluorometer")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Fuzzy: Codable { - case integer(Int) - case unionMap([String: Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: Int?].self) { - self = .unionMap(x) - return - } - throw DecodingError.typeMismatch(Fuzzy.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Fuzzy")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .unionMap(let x): - try container.encode(x) - } - } -} - -enum Gardenward: Codable { - case bool(Bool) - case integerArray([Int]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Gardenward.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Gardenward")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Generalissimo: Codable { - case bool(Bool) - case integerMap([String: Int]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Generalissimo.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Generalissimo")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Gryphosaurus: Codable { - case integerArray([Int]) - case nullMap([String: JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Gryphosaurus.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Gryphosaurus")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Hemicrystalline: Codable { - case rebeccaClass(RebeccaClass) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - throw DecodingError.typeMismatch(Hemicrystalline.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Hemicrystalline")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .rebeccaClass(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum HemocoeleUnion: Codable { - case hemocoeleClass(HemocoeleClass) - case integerArray([Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(HemocoeleClass.self) { - self = .hemocoeleClass(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(HemocoeleUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for HemocoeleUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .hemocoeleClass(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - } - } -} - -class HemocoeleClass: Codable { - let acrogamy, amelification, autobiographic, berat: JSONNull? - let catharticalness: Double? - let chirotherium: Int? - let disdiapason: String? - let disproportionably, erythrite, graphic, hepatological: JSONNull? - let homocerc: Bool? - let incommensurably, misaffirm, nonbookish, pocketbook: JSONNull? - let sclerometric, stambouline, stickpin, tubulure: JSONNull? - let undelated, unsalt, untutelar, vagrant: JSONNull? - let walt: JSONNull? - - enum CodingKeys: String, CodingKey { - case acrogamy, amelification, autobiographic, berat, catharticalness - case chirotherium = "Chirotherium" - case disdiapason, disproportionably, erythrite, graphic, hepatological, homocerc, incommensurably, misaffirm, nonbookish, pocketbook, sclerometric, stambouline, stickpin, tubulure, undelated, unsalt, untutelar, vagrant - case walt = "Walt" - } - - init(acrogamy: JSONNull?, amelification: JSONNull?, autobiographic: JSONNull?, berat: JSONNull?, catharticalness: Double?, chirotherium: Int?, disdiapason: String?, disproportionably: JSONNull?, erythrite: JSONNull?, graphic: JSONNull?, hepatological: JSONNull?, homocerc: Bool?, incommensurably: JSONNull?, misaffirm: JSONNull?, nonbookish: JSONNull?, pocketbook: JSONNull?, sclerometric: JSONNull?, stambouline: JSONNull?, stickpin: JSONNull?, tubulure: JSONNull?, undelated: JSONNull?, unsalt: JSONNull?, untutelar: JSONNull?, vagrant: JSONNull?, walt: JSONNull?) { - self.acrogamy = acrogamy - self.amelification = amelification - self.autobiographic = autobiographic - self.berat = berat - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.disdiapason = disdiapason - self.disproportionably = disproportionably - self.erythrite = erythrite - self.graphic = graphic - self.hepatological = hepatological - self.homocerc = homocerc - self.incommensurably = incommensurably - self.misaffirm = misaffirm - self.nonbookish = nonbookish - self.pocketbook = pocketbook - self.sclerometric = sclerometric - self.stambouline = stambouline - self.stickpin = stickpin - self.tubulure = tubulure - self.undelated = undelated - self.unsalt = unsalt - self.untutelar = untutelar - self.vagrant = vagrant - self.walt = walt - } -} - -enum Hoister: Codable { - case rebeccaClass(RebeccaClass) - case string(String) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Hoister.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Hoister")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .rebeccaClass(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Hyperpiesi: Codable { - case nullArray([JSONNull?]) - case rebeccaClass(RebeccaClass) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Hyperpiesi.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Hyperpiesi")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Hyppish: Codable { - case bool(Bool) - case string(String) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Hyppish.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Hyppish")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Idealizer: Codable { - case integer(Int) - case nullArray([JSONNull?]) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Idealizer.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Idealizer")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Incrustator: Codable { - case integer(Int) - case integerArray([Int]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Incrustator.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Incrustator")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Intentiveness: Codable { - case double(Double) - case rebeccaClass(RebeccaClass) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - throw DecodingError.typeMismatch(Intentiveness.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Intentiveness")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -class Interacinar: Codable { - let assapan: Double - let benefactorship: Bool - let triseriatim: String - let tubbing: Int - let untrimmed: JSONNull? - - init(assapan: Double, benefactorship: Bool, triseriatim: String, tubbing: Int, untrimmed: JSONNull?) { - self.assapan = assapan - self.benefactorship = benefactorship - self.triseriatim = triseriatim - self.tubbing = tubbing - self.untrimmed = untrimmed - } -} - -enum Jacutinga: Codable { - case integerArray([Int]) - case unionMap([String: Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: Int?].self) { - self = .unionMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Jacutinga.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Jacutinga")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .unionMap(let x): - try container.encode(x) - } - } -} - -enum Juror: Codable { - case bool(Bool) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - throw DecodingError.typeMismatch(Juror.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Juror")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum Kongoni: Codable { - case integerArray([Int]) - case integerMap([String: Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Kongoni.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Kongoni")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - } - } -} - -enum Koryak: Codable { - case string(String) - case unionMap([String: Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: Int?].self) { - self = .unionMap(x) - return - } - throw DecodingError.typeMismatch(Koryak.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Koryak")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .string(let x): - try container.encode(x) - case .unionMap(let x): - try container.encode(x) - } - } -} - -enum Ladronism: Codable { - case double(Double) - case nullMap([String: JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - throw DecodingError.typeMismatch(Ladronism.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Ladronism")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Landlubberly: Codable { - case bool(Bool) - case integer(Int) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - throw DecodingError.typeMismatch(Landlubberly.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Landlubberly")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integer(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum LaviniaUnion: Codable { - case laviniaClass(LaviniaClass) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode(LaviniaClass.self) { - self = .laviniaClass(x) - return - } - throw DecodingError.typeMismatch(LaviniaUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for LaviniaUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .laviniaClass(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -class LaviniaClass: Codable { - let agitable, asininity, benefiter, bronzelike: Int? - let catharticalness: Double? - let chirotherium, cholesteatomatous, deprivement: Int? - let disdiapason: String? - let flippantness, fogproof: Int? - let homocerc: Bool? - let merrymeeting: Int? - let nonbookish: JSONNull? - let overcareful, panaris, preacceptance, quinoxaline: Int? - let sig, superconfusion, tacana, tillotter: Int? - let tranquillize, unquestionable, uproute: Int? - - enum CodingKeys: String, CodingKey { - case agitable, asininity, benefiter, bronzelike, catharticalness - case chirotherium = "Chirotherium" - case cholesteatomatous, deprivement, disdiapason, flippantness, fogproof, homocerc, merrymeeting, nonbookish, overcareful, panaris, preacceptance, quinoxaline, sig, superconfusion - case tacana = "Tacana" - case tillotter, tranquillize, unquestionable, uproute - } - - init(agitable: Int?, asininity: Int?, benefiter: Int?, bronzelike: Int?, catharticalness: Double?, chirotherium: Int?, cholesteatomatous: Int?, deprivement: Int?, disdiapason: String?, flippantness: Int?, fogproof: Int?, homocerc: Bool?, merrymeeting: Int?, nonbookish: JSONNull?, overcareful: Int?, panaris: Int?, preacceptance: Int?, quinoxaline: Int?, sig: Int?, superconfusion: Int?, tacana: Int?, tillotter: Int?, tranquillize: Int?, unquestionable: Int?, uproute: Int?) { - self.agitable = agitable - self.asininity = asininity - self.benefiter = benefiter - self.bronzelike = bronzelike - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.cholesteatomatous = cholesteatomatous - self.deprivement = deprivement - self.disdiapason = disdiapason - self.flippantness = flippantness - self.fogproof = fogproof - self.homocerc = homocerc - self.merrymeeting = merrymeeting - self.nonbookish = nonbookish - self.overcareful = overcareful - self.panaris = panaris - self.preacceptance = preacceptance - self.quinoxaline = quinoxaline - self.sig = sig - self.superconfusion = superconfusion - self.tacana = tacana - self.tillotter = tillotter - self.tranquillize = tranquillize - self.unquestionable = unquestionable - self.uproute = uproute - } -} - -enum Listener: Codable { - case integer(Int) - case nullArray([JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Listener.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Listener")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - } - } -} - -enum LupusUnion: Codable { - case integer(Int) - case lupusClass(LupusClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(LupusClass.self) { - self = .lupusClass(x) - return - } - throw DecodingError.typeMismatch(LupusUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for LupusUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .lupusClass(let x): - try container.encode(x) - } - } -} - -class LupusClass: Codable { - let catharticalness: Double? - let chirotherium, chlorioninae, corvinae, crassina: Int? - let disdiapason: String? - let exiguity, farcist, holographical: Int? - let homocerc: Bool? - let ichthyophagan, implacable: Int? - let nonbookish: JSONNull? - let outshiner, overweather, protonegroid, shallowish: Int? - let snoke, snout, surveillance, threshingtime: Int? - let thysanocarpus, unsignificantly, unsnap, vendible: Int? - - enum CodingKeys: String, CodingKey { - case catharticalness - case chirotherium = "Chirotherium" - case chlorioninae = "Chlorioninae" - case corvinae = "Corvinae" - case crassina = "Crassina" - case disdiapason, exiguity, farcist, holographical, homocerc, ichthyophagan, implacable, nonbookish, outshiner, overweather, protonegroid, shallowish, snoke, snout, surveillance, threshingtime - case thysanocarpus = "Thysanocarpus" - case unsignificantly, unsnap, vendible - } - - init(catharticalness: Double?, chirotherium: Int?, chlorioninae: Int?, corvinae: Int?, crassina: Int?, disdiapason: String?, exiguity: Int?, farcist: Int?, holographical: Int?, homocerc: Bool?, ichthyophagan: Int?, implacable: Int?, nonbookish: JSONNull?, outshiner: Int?, overweather: Int?, protonegroid: Int?, shallowish: Int?, snoke: Int?, snout: Int?, surveillance: Int?, threshingtime: Int?, thysanocarpus: Int?, unsignificantly: Int?, unsnap: Int?, vendible: Int?) { - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.chlorioninae = chlorioninae - self.corvinae = corvinae - self.crassina = crassina - self.disdiapason = disdiapason - self.exiguity = exiguity - self.farcist = farcist - self.holographical = holographical - self.homocerc = homocerc - self.ichthyophagan = ichthyophagan - self.implacable = implacable - self.nonbookish = nonbookish - self.outshiner = outshiner - self.overweather = overweather - self.protonegroid = protonegroid - self.shallowish = shallowish - self.snoke = snoke - self.snout = snout - self.surveillance = surveillance - self.threshingtime = threshingtime - self.thysanocarpus = thysanocarpus - self.unsignificantly = unsignificantly - self.unsnap = unsnap - self.vendible = vendible - } -} - -class Maslin: Codable { - let alicant: Int? - let antiatonement: JSONNull? - let anticorrosive: Int? - let aphidozer, bakuninist: JSONNull? - let be: Int? - let catharticalness: Double? - let chirotherium, chub, cuprosilicon, curtailedly: Int? - let dellenite, dimitry: Int? - let disdiapason: String? - let edifying: JSONNull? - let ethmoiditis: Int? - let gastralgy: JSONNull? - let goatherd, hammerdress: Int? - let hangfire: JSONNull? - let homocerc: Bool? - let lacunosity: Int? - let longiloquence: JSONNull? - let mameliere: Int? - let motherless, nonbookish, noncorrodible, nonsensicality: JSONNull? - let oafishly: Int? - let pfund, preadvisory, retroflexed: JSONNull? - let saccharulmic, scowlful: Int? - let secluded, slackage: JSONNull? - let sphaeridial: Int? - let spondulics: JSONNull? - let subsecive: Int? - let swellmobsman: JSONNull? - let trachyglossate: Int? - let trialogue: JSONNull? - let unassuaged: Int? - let ungross, unjudiciously: JSONNull? - - enum CodingKeys: String, CodingKey { - case alicant = "Alicant" - case antiatonement, anticorrosive, aphidozer - case bakuninist = "Bakuninist" - case be, catharticalness - case chirotherium = "Chirotherium" - case chub, cuprosilicon, curtailedly, dellenite - case dimitry = "Dimitry" - case disdiapason, edifying, ethmoiditis, gastralgy, goatherd, hammerdress, hangfire, homocerc, lacunosity, longiloquence, mameliere, motherless, nonbookish, noncorrodible, nonsensicality, oafishly, pfund, preadvisory, retroflexed, saccharulmic, scowlful, secluded, slackage, sphaeridial, spondulics, subsecive, swellmobsman, trachyglossate, trialogue, unassuaged, ungross, unjudiciously - } - - init(alicant: Int?, antiatonement: JSONNull?, anticorrosive: Int?, aphidozer: JSONNull?, bakuninist: JSONNull?, be: Int?, catharticalness: Double?, chirotherium: Int?, chub: Int?, cuprosilicon: Int?, curtailedly: Int?, dellenite: Int?, dimitry: Int?, disdiapason: String?, edifying: JSONNull?, ethmoiditis: Int?, gastralgy: JSONNull?, goatherd: Int?, hammerdress: Int?, hangfire: JSONNull?, homocerc: Bool?, lacunosity: Int?, longiloquence: JSONNull?, mameliere: Int?, motherless: JSONNull?, nonbookish: JSONNull?, noncorrodible: JSONNull?, nonsensicality: JSONNull?, oafishly: Int?, pfund: JSONNull?, preadvisory: JSONNull?, retroflexed: JSONNull?, saccharulmic: Int?, scowlful: Int?, secluded: JSONNull?, slackage: JSONNull?, sphaeridial: Int?, spondulics: JSONNull?, subsecive: Int?, swellmobsman: JSONNull?, trachyglossate: Int?, trialogue: JSONNull?, unassuaged: Int?, ungross: JSONNull?, unjudiciously: JSONNull?) { - self.alicant = alicant - self.antiatonement = antiatonement - self.anticorrosive = anticorrosive - self.aphidozer = aphidozer - self.bakuninist = bakuninist - self.be = be - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.chub = chub - self.cuprosilicon = cuprosilicon - self.curtailedly = curtailedly - self.dellenite = dellenite - self.dimitry = dimitry - self.disdiapason = disdiapason - self.edifying = edifying - self.ethmoiditis = ethmoiditis - self.gastralgy = gastralgy - self.goatherd = goatherd - self.hammerdress = hammerdress - self.hangfire = hangfire - self.homocerc = homocerc - self.lacunosity = lacunosity - self.longiloquence = longiloquence - self.mameliere = mameliere - self.motherless = motherless - self.nonbookish = nonbookish - self.noncorrodible = noncorrodible - self.nonsensicality = nonsensicality - self.oafishly = oafishly - self.pfund = pfund - self.preadvisory = preadvisory - self.retroflexed = retroflexed - self.saccharulmic = saccharulmic - self.scowlful = scowlful - self.secluded = secluded - self.slackage = slackage - self.sphaeridial = sphaeridial - self.spondulics = spondulics - self.subsecive = subsecive - self.swellmobsman = swellmobsman - self.trachyglossate = trachyglossate - self.trialogue = trialogue - self.unassuaged = unassuaged - self.ungross = ungross - self.unjudiciously = unjudiciously - } -} - -enum Monazite: Codable { - case double(Double) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - throw DecodingError.typeMismatch(Monazite.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Monazite")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Monoliteral: Codable { - case bool(Bool) - case nullArray([JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Monoliteral.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Monoliteral")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - } - } -} - -enum MonotheisticallyUnion: Codable { - case monotheisticallyClass(MonotheisticallyClass) - case nullArray([JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(MonotheisticallyClass.self) { - self = .monotheisticallyClass(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(MonotheisticallyUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for MonotheisticallyUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .monotheisticallyClass(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - } - } -} - -class MonotheisticallyClass: Codable { - let blaspheme: JSONNull? - let catharticalness: Double? - let celiosalpingectomy: JSONNull? - let chirotherium: Int? - let consummativeness: JSONNull? - let disdiapason: String? - let egestive, enchylema, gasconade, holidayer: JSONNull? - let homocerc: Bool? - let intuitionalism, lophiostomate, nonbookish, nonvolition: JSONNull? - let palatableness, pimpery, previolation, reconveyance: JSONNull? - let registership, rhyacolite, smithereens, superedification: JSONNull? - let trust, whitestone: JSONNull? - - enum CodingKeys: String, CodingKey { - case blaspheme, catharticalness, celiosalpingectomy - case chirotherium = "Chirotherium" - case consummativeness, disdiapason, egestive, enchylema, gasconade, holidayer, homocerc, intuitionalism, lophiostomate, nonbookish, nonvolition, palatableness, pimpery, previolation, reconveyance, registership, rhyacolite, smithereens, superedification, trust, whitestone - } - - init(blaspheme: JSONNull?, catharticalness: Double?, celiosalpingectomy: JSONNull?, chirotherium: Int?, consummativeness: JSONNull?, disdiapason: String?, egestive: JSONNull?, enchylema: JSONNull?, gasconade: JSONNull?, holidayer: JSONNull?, homocerc: Bool?, intuitionalism: JSONNull?, lophiostomate: JSONNull?, nonbookish: JSONNull?, nonvolition: JSONNull?, palatableness: JSONNull?, pimpery: JSONNull?, previolation: JSONNull?, reconveyance: JSONNull?, registership: JSONNull?, rhyacolite: JSONNull?, smithereens: JSONNull?, superedification: JSONNull?, trust: JSONNull?, whitestone: JSONNull?) { - self.blaspheme = blaspheme - self.catharticalness = catharticalness - self.celiosalpingectomy = celiosalpingectomy - self.chirotherium = chirotherium - self.consummativeness = consummativeness - self.disdiapason = disdiapason - self.egestive = egestive - self.enchylema = enchylema - self.gasconade = gasconade - self.holidayer = holidayer - self.homocerc = homocerc - self.intuitionalism = intuitionalism - self.lophiostomate = lophiostomate - self.nonbookish = nonbookish - self.nonvolition = nonvolition - self.palatableness = palatableness - self.pimpery = pimpery - self.previolation = previolation - self.reconveyance = reconveyance - self.registership = registership - self.rhyacolite = rhyacolite - self.smithereens = smithereens - self.superedification = superedification - self.trust = trust - self.whitestone = whitestone - } -} - -enum Montage: Codable { - case double(Double) - case nullArray([JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Montage.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Montage")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Moralness: Codable { - case double(Double) - case nullArray([JSONNull?]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Moralness.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Moralness")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Mulishly: Codable { - case double(Double) - case integerArray([Int]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Mulishly.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Mulishly")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Myoscope: Codable { - case bool(Bool) - case integer(Int) - case nullArray([JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Myoscope.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Myoscope")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integer(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - } - } -} - -enum Neuromastic: Codable { - case double(Double) - case nullArray([JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Neuromastic.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Neuromastic")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - } - } -} - -class Noncontributing: Codable { - let estevin: String - let jolterhead: Double - let sauternes: Int - let sparsely: Bool - let unrequested: JSONNull? - - init(estevin: String, jolterhead: Double, sauternes: Int, sparsely: Bool, unrequested: JSONNull?) { - self.estevin = estevin - self.jolterhead = jolterhead - self.sauternes = sauternes - self.sparsely = sparsely - self.unrequested = unrequested - } -} - -enum Nonnervous: Codable { - case bool(Bool) - case integer(Int) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - throw DecodingError.typeMismatch(Nonnervous.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Nonnervous")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integer(let x): - try container.encode(x) - } - } -} - -enum Nonvaluation: Codable { - case bool(Bool) - case double(Double) - case nullArray([JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Nonvaluation.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Nonvaluation")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .double(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - } - } -} - -enum Occupationalist: Codable { - case nullArray([JSONNull?]) - case nullMap([String: JSONNull?]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Occupationalist.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Occupationalist")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Oskar: Codable { - case integerArray([Int]) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Oskar.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Oskar")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum Outrival: Codable { - case double(Double) - case nullMap([String: JSONNull?]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Outrival.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Outrival")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Paleographically: Codable { - case double(Double) - case unionMap([String: Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: Int?].self) { - self = .unionMap(x) - return - } - throw DecodingError.typeMismatch(Paleographically.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Paleographically")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .unionMap(let x): - try container.encode(x) - } - } -} - -enum Pamphletwise: Codable { - case integer(Int) - case integerMap([String: Int]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - throw DecodingError.typeMismatch(Pamphletwise.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Pamphletwise")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Pediatric: Codable { - case bool(Bool) - case double(Double) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Pediatric.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Pediatric")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .double(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum PiaculumUnion: Codable { - case double(Double) - case piaculumClass(PiaculumClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(PiaculumClass.self) { - self = .piaculumClass(x) - return - } - throw DecodingError.typeMismatch(PiaculumUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for PiaculumUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .piaculumClass(let x): - try container.encode(x) - } - } -} - -class PiaculumClass: Codable { - let alada, amphistomous, boysenberry: Int? - let catharticalness: Double? - let chirotherium, decardinalize, discouragement: Int? - let disdiapason: String? - let doitrified, hexaspermous: Int? - let homocerc: Bool? - let insinking, loathfulness, miasmatical, neurofibril: Int? - let nonbookish: JSONNull? - let phonendoscope, pilferment, predismissory, preinscription: Int? - let quotative, sienna, thorax, yachting: Int? - let zipper: Int? - - enum CodingKeys: String, CodingKey { - case alada, amphistomous, boysenberry, catharticalness - case chirotherium = "Chirotherium" - case decardinalize, discouragement, disdiapason, doitrified, hexaspermous, homocerc, insinking, loathfulness, miasmatical, neurofibril, nonbookish, phonendoscope, pilferment, predismissory, preinscription, quotative, sienna, thorax, yachting - case zipper = "Zipper" - } - - init(alada: Int?, amphistomous: Int?, boysenberry: Int?, catharticalness: Double?, chirotherium: Int?, decardinalize: Int?, discouragement: Int?, disdiapason: String?, doitrified: Int?, hexaspermous: Int?, homocerc: Bool?, insinking: Int?, loathfulness: Int?, miasmatical: Int?, neurofibril: Int?, nonbookish: JSONNull?, phonendoscope: Int?, pilferment: Int?, predismissory: Int?, preinscription: Int?, quotative: Int?, sienna: Int?, thorax: Int?, yachting: Int?, zipper: Int?) { - self.alada = alada - self.amphistomous = amphistomous - self.boysenberry = boysenberry - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.decardinalize = decardinalize - self.discouragement = discouragement - self.disdiapason = disdiapason - self.doitrified = doitrified - self.hexaspermous = hexaspermous - self.homocerc = homocerc - self.insinking = insinking - self.loathfulness = loathfulness - self.miasmatical = miasmatical - self.neurofibril = neurofibril - self.nonbookish = nonbookish - self.phonendoscope = phonendoscope - self.pilferment = pilferment - self.predismissory = predismissory - self.preinscription = preinscription - self.quotative = quotative - self.sienna = sienna - self.thorax = thorax - self.yachting = yachting - self.zipper = zipper - } -} - -enum Piccadilly: Codable { - case double(Double) - case string(String) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Piccadilly.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Piccadilly")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Piffler: Codable { - case nullArray([JSONNull?]) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Piffler.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Piffler")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Pithful: Codable { - case bool(Bool) - case integer(Int) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Pithful.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Pithful")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integer(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Placuntiti: Codable { - case integer(Int) - case integerMap([String: Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - throw DecodingError.typeMismatch(Placuntiti.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Placuntiti")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - } - } -} - -class Pneumocele: Codable { - let carbonarism: JSONNull? - let catharticalness: Double? - let chirotherium: Int? - let cineolic, cobbly, conchyliferous, congregation: JSONNull? - let disdiapason: String? - let enterotomy, entophytal, fewtrils, herem: JSONNull? - let homocerc: Bool? - let koniga, meticulosity, micky, mismarriage: JSONNull? - let neurotrophic, nonbookish, persuasively, replaceable: JSONNull? - let silex, taillight, unjealous, visitorial: JSONNull? - - enum CodingKeys: String, CodingKey { - case carbonarism = "Carbonarism" - case catharticalness - case chirotherium = "Chirotherium" - case cineolic, cobbly, conchyliferous, congregation, disdiapason, enterotomy, entophytal, fewtrils, herem, homocerc - case koniga = "Koniga" - case meticulosity - case micky = "Micky" - case mismarriage, neurotrophic, nonbookish, persuasively, replaceable, silex, taillight, unjealous, visitorial - } - - init(carbonarism: JSONNull?, catharticalness: Double?, chirotherium: Int?, cineolic: JSONNull?, cobbly: JSONNull?, conchyliferous: JSONNull?, congregation: JSONNull?, disdiapason: String?, enterotomy: JSONNull?, entophytal: JSONNull?, fewtrils: JSONNull?, herem: JSONNull?, homocerc: Bool?, koniga: JSONNull?, meticulosity: JSONNull?, micky: JSONNull?, mismarriage: JSONNull?, neurotrophic: JSONNull?, nonbookish: JSONNull?, persuasively: JSONNull?, replaceable: JSONNull?, silex: JSONNull?, taillight: JSONNull?, unjealous: JSONNull?, visitorial: JSONNull?) { - self.carbonarism = carbonarism - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.cineolic = cineolic - self.cobbly = cobbly - self.conchyliferous = conchyliferous - self.congregation = congregation - self.disdiapason = disdiapason - self.enterotomy = enterotomy - self.entophytal = entophytal - self.fewtrils = fewtrils - self.herem = herem - self.homocerc = homocerc - self.koniga = koniga - self.meticulosity = meticulosity - self.micky = micky - self.mismarriage = mismarriage - self.neurotrophic = neurotrophic - self.nonbookish = nonbookish - self.persuasively = persuasively - self.replaceable = replaceable - self.silex = silex - self.taillight = taillight - self.unjealous = unjealous - self.visitorial = visitorial - } -} - -enum Poliorcetic: Codable { - case bool(Bool) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - throw DecodingError.typeMismatch(Poliorcetic.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Poliorcetic")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Poormaster: Codable { - case integerArray([Int]) - case integerMap([String: Int]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Poormaster.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Poormaster")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Potwhisky: Codable { - case integer(Int) - case nullMap([String: JSONNull?]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Potwhisky.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Potwhisky")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Practicalizer: Codable { - case nullArray([JSONNull?]) - case rebeccaClass(RebeccaClass) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Practicalizer.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Practicalizer")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Prefreshman: Codable { - case nullArray([JSONNull?]) - case nullMap([String: JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Prefreshman.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Prefreshman")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Prehensility: Codable { - case bool(Bool) - case nullArray([JSONNull?]) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Prehensility.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Prehensility")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Prevoidance: Codable { - case integer(Int) - case integerArray([Int]) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Prevoidance.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Prevoidance")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Protext: Codable { - case bool(Bool) - case integerArray([Int]) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Protext.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Protext")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Protrusive: Codable { - case double(Double) - case unionArray([Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([Int?].self) { - self = .unionArray(x) - return - } - throw DecodingError.typeMismatch(Protrusive.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Protrusive")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .unionArray(let x): - try container.encode(x) - } - } -} - -enum Pulpitism: Codable { - case double(Double) - case integerArray([Int]) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Pulpitism.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Pulpitism")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum Pyodermia: Codable { - case integer(Int) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - throw DecodingError.typeMismatch(Pyodermia.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Pyodermia")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum Quebrachine: Codable { - case bool(Bool) - case rebeccaClass(RebeccaClass) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Quebrachine.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Quebrachine")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Querier: Codable { - case bool(Bool) - case integerMap([String: Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - throw DecodingError.typeMismatch(Querier.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Querier")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - } - } -} - -enum Rebarbative: Codable { - case bool(Bool) - case double(Double) - case integerArray([Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Rebarbative.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Rebarbative")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .double(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - } - } -} - -enum RebeccaUnion: Codable { - case integer(Int) - case rebeccaClass(RebeccaClass) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - throw DecodingError.typeMismatch(RebeccaUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for RebeccaUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -class Reimagine: Codable { - let adducible, anabolin, brainy: JSONNull? - let catharticalness: Double? - let chirotherium: Int? - let chrysamine: JSONNull? - let disdiapason: String? - let fluxweed, glaucine, grobianism, hermo: JSONNull? - let hieroglyphist: JSONNull? - let homocerc: Bool? - let icteroid, immortal, impetulant, irrigate: JSONNull? - let myxedema, nonbookish, onyx, repasser: JSONNull? - let septomarginal, subdie, tibiometatarsal, waltzlike: JSONNull? - - enum CodingKeys: String, CodingKey { - case adducible, anabolin, brainy, catharticalness - case chirotherium = "Chirotherium" - case chrysamine, disdiapason, fluxweed, glaucine, grobianism - case hermo = "Hermo" - case hieroglyphist, homocerc, icteroid, immortal, impetulant, irrigate, myxedema, nonbookish, onyx, repasser, septomarginal, subdie, tibiometatarsal, waltzlike - } - - init(adducible: JSONNull?, anabolin: JSONNull?, brainy: JSONNull?, catharticalness: Double?, chirotherium: Int?, chrysamine: JSONNull?, disdiapason: String?, fluxweed: JSONNull?, glaucine: JSONNull?, grobianism: JSONNull?, hermo: JSONNull?, hieroglyphist: JSONNull?, homocerc: Bool?, icteroid: JSONNull?, immortal: JSONNull?, impetulant: JSONNull?, irrigate: JSONNull?, myxedema: JSONNull?, nonbookish: JSONNull?, onyx: JSONNull?, repasser: JSONNull?, septomarginal: JSONNull?, subdie: JSONNull?, tibiometatarsal: JSONNull?, waltzlike: JSONNull?) { - self.adducible = adducible - self.anabolin = anabolin - self.brainy = brainy - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.chrysamine = chrysamine - self.disdiapason = disdiapason - self.fluxweed = fluxweed - self.glaucine = glaucine - self.grobianism = grobianism - self.hermo = hermo - self.hieroglyphist = hieroglyphist - self.homocerc = homocerc - self.icteroid = icteroid - self.immortal = immortal - self.impetulant = impetulant - self.irrigate = irrigate - self.myxedema = myxedema - self.nonbookish = nonbookish - self.onyx = onyx - self.repasser = repasser - self.septomarginal = septomarginal - self.subdie = subdie - self.tibiometatarsal = tibiometatarsal - self.waltzlike = waltzlike - } -} - -enum Retrocervical: Codable { - case integer(Int) - case unionArray([Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([Int?].self) { - self = .unionArray(x) - return - } - throw DecodingError.typeMismatch(Retrocervical.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Retrocervical")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .unionArray(let x): - try container.encode(x) - } - } -} - -enum Revert: Codable { - case bool(Bool) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - throw DecodingError.typeMismatch(Revert.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Revert")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Rewrite: Codable { - case double(Double) - case nullArray([JSONNull?]) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Rewrite.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Rewrite")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -enum Rhomboganoidei: Codable { - case integerArray([Int]) - case rebeccaClass(RebeccaClass) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Rhomboganoidei.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Rhomboganoidei")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Ruellia: Codable { - case bool(Bool) - case rebeccaClass(RebeccaClass) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - throw DecodingError.typeMismatch(Ruellia.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Ruellia")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Saccoderm: Codable { - case integerArray([Int]) - case string(String) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Saccoderm.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Saccoderm")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Saprophilous: Codable { - case integerMap([String: Int]) - case string(String) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Saprophilous.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Saprophilous")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum SaxtenUnion: Codable { - case saxtenClass(SaxtenClass) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode(SaxtenClass.self) { - self = .saxtenClass(x) - return - } - throw DecodingError.typeMismatch(SaxtenUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for SaxtenUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .saxtenClass(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -class SaxtenClass: Codable { - let algarrobilla, bowgrace: JSONNull? - let catharticalness: Double? - let centaurid: JSONNull? - let chirotherium: Int? - let disdiapason: String? - let flix, germanely: JSONNull? - let homocerc: Bool? - let inhume, lepidote, megalochirous, ninepenny: JSONNull? - let nonbookish, nondeist, nymphaeaceous, parietofrontal: JSONNull? - let sancyite, subjectivist, tibiad, transonic: JSONNull? - let tripetalous, trunchman, urger, withdrawnness: JSONNull? - - enum CodingKeys: String, CodingKey { - case algarrobilla, bowgrace, catharticalness - case centaurid = "Centaurid" - case chirotherium = "Chirotherium" - case disdiapason, flix, germanely, homocerc, inhume, lepidote, megalochirous, ninepenny, nonbookish, nondeist, nymphaeaceous, parietofrontal, sancyite, subjectivist, tibiad, transonic, tripetalous, trunchman, urger, withdrawnness - } - - init(algarrobilla: JSONNull?, bowgrace: JSONNull?, catharticalness: Double?, centaurid: JSONNull?, chirotherium: Int?, disdiapason: String?, flix: JSONNull?, germanely: JSONNull?, homocerc: Bool?, inhume: JSONNull?, lepidote: JSONNull?, megalochirous: JSONNull?, ninepenny: JSONNull?, nonbookish: JSONNull?, nondeist: JSONNull?, nymphaeaceous: JSONNull?, parietofrontal: JSONNull?, sancyite: JSONNull?, subjectivist: JSONNull?, tibiad: JSONNull?, transonic: JSONNull?, tripetalous: JSONNull?, trunchman: JSONNull?, urger: JSONNull?, withdrawnness: JSONNull?) { - self.algarrobilla = algarrobilla - self.bowgrace = bowgrace - self.catharticalness = catharticalness - self.centaurid = centaurid - self.chirotherium = chirotherium - self.disdiapason = disdiapason - self.flix = flix - self.germanely = germanely - self.homocerc = homocerc - self.inhume = inhume - self.lepidote = lepidote - self.megalochirous = megalochirous - self.ninepenny = ninepenny - self.nonbookish = nonbookish - self.nondeist = nondeist - self.nymphaeaceous = nymphaeaceous - self.parietofrontal = parietofrontal - self.sancyite = sancyite - self.subjectivist = subjectivist - self.tibiad = tibiad - self.transonic = transonic - self.tripetalous = tripetalous - self.trunchman = trunchman - self.urger = urger - self.withdrawnness = withdrawnness - } -} - -enum School: Codable { - case integer(Int) - case integerMap([String: Int]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(School.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for School")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Scoffer: Codable { - case integerMap([String: Int]) - case nullArray([JSONNull?]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Scoffer.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Scoffer")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerMap(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Scrampum: Codable { - case bool(Bool) - case integerArray([Int]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Scrampum.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Scrampum")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Shadowable: Codable { - case bool(Bool) - case unionArray([Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([Int?].self) { - self = .unionArray(x) - return - } - throw DecodingError.typeMismatch(Shadowable.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Shadowable")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .unionArray(let x): - try container.encode(x) - } - } -} - -enum Shakespearolater: Codable { - case double(Double) - case integerArray([Int]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Shakespearolater.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Shakespearolater")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Sistering: Codable { - case integer(Int) - case nullArray([JSONNull?]) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Sistering.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Sistering")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -class Staghunting: Codable { - let calorimetric, canid: Int? - let catharticalness: Double? - let chirotherium: Int? - let disdiapason: String? - let ditriglyphic, floriferousness, gamelike, grig: Int? - let homocerc: Bool? - let interloan, lithotomy, loric, membranocoriaceous: Int? - let membranogenic: Int? - let nonbookish: JSONNull? - let overtrump, scotino, seasonable, sephen: Int? - let stigmarioid, tired, trifid, undefeatedly: Int? - let ungirlish: Int? - - enum CodingKeys: String, CodingKey { - case calorimetric, canid, catharticalness - case chirotherium = "Chirotherium" - case disdiapason, ditriglyphic, floriferousness, gamelike, grig, homocerc, interloan, lithotomy, loric, membranocoriaceous, membranogenic, nonbookish, overtrump, scotino, seasonable, sephen, stigmarioid, tired, trifid, undefeatedly, ungirlish - } - - init(calorimetric: Int?, canid: Int?, catharticalness: Double?, chirotherium: Int?, disdiapason: String?, ditriglyphic: Int?, floriferousness: Int?, gamelike: Int?, grig: Int?, homocerc: Bool?, interloan: Int?, lithotomy: Int?, loric: Int?, membranocoriaceous: Int?, membranogenic: Int?, nonbookish: JSONNull?, overtrump: Int?, scotino: Int?, seasonable: Int?, sephen: Int?, stigmarioid: Int?, tired: Int?, trifid: Int?, undefeatedly: Int?, ungirlish: Int?) { - self.calorimetric = calorimetric - self.canid = canid - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.disdiapason = disdiapason - self.ditriglyphic = ditriglyphic - self.floriferousness = floriferousness - self.gamelike = gamelike - self.grig = grig - self.homocerc = homocerc - self.interloan = interloan - self.lithotomy = lithotomy - self.loric = loric - self.membranocoriaceous = membranocoriaceous - self.membranogenic = membranogenic - self.nonbookish = nonbookish - self.overtrump = overtrump - self.scotino = scotino - self.seasonable = seasonable - self.sephen = sephen - self.stigmarioid = stigmarioid - self.tired = tired - self.trifid = trifid - self.undefeatedly = undefeatedly - self.ungirlish = ungirlish - } -} - -enum Stagmometer: Codable { - case string(String) - case unionArray([Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([Int?].self) { - self = .unionArray(x) - return - } - throw DecodingError.typeMismatch(Stagmometer.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Stagmometer")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .string(let x): - try container.encode(x) - case .unionArray(let x): - try container.encode(x) - } - } -} - -enum Stimulability: Codable { - case bool(Bool) - case integer(Int) - case integerMap([String: Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - throw DecodingError.typeMismatch(Stimulability.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Stimulability")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integer(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - } - } -} - -enum StrenuosityUnion: Codable { - case nullArray([JSONNull?]) - case strenuosityClass(StrenuosityClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(StrenuosityClass.self) { - self = .strenuosityClass(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(StrenuosityUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for StrenuosityUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullArray(let x): - try container.encode(x) - case .strenuosityClass(let x): - try container.encode(x) - } - } -} - -class StrenuosityClass: Codable { - let bliss, buccate, bulletproof: Int? - let catharticalness: Double? - let chirotherium, crumblingness: Int? - let disdiapason: String? - let engagedly, fightable, hoariness: Int? - let homocerc: Bool? - let hypopodium, luxurist, mechanician: Int? - let nonbookish: JSONNull? - let onopordon, podgily, reformableness, scatterbrains: Int? - let seminuria, sodomite, tramp, undueness: Int? - let worthily, yankeeist: Int? - - enum CodingKeys: String, CodingKey { - case bliss, buccate, bulletproof, catharticalness - case chirotherium = "Chirotherium" - case crumblingness, disdiapason, engagedly, fightable, hoariness, homocerc, hypopodium, luxurist, mechanician, nonbookish - case onopordon = "Onopordon" - case podgily, reformableness, scatterbrains, seminuria - case sodomite = "Sodomite" - case tramp, undueness, worthily - case yankeeist = "Yankeeist" - } - - init(bliss: Int?, buccate: Int?, bulletproof: Int?, catharticalness: Double?, chirotherium: Int?, crumblingness: Int?, disdiapason: String?, engagedly: Int?, fightable: Int?, hoariness: Int?, homocerc: Bool?, hypopodium: Int?, luxurist: Int?, mechanician: Int?, nonbookish: JSONNull?, onopordon: Int?, podgily: Int?, reformableness: Int?, scatterbrains: Int?, seminuria: Int?, sodomite: Int?, tramp: Int?, undueness: Int?, worthily: Int?, yankeeist: Int?) { - self.bliss = bliss - self.buccate = buccate - self.bulletproof = bulletproof - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.crumblingness = crumblingness - self.disdiapason = disdiapason - self.engagedly = engagedly - self.fightable = fightable - self.hoariness = hoariness - self.homocerc = homocerc - self.hypopodium = hypopodium - self.luxurist = luxurist - self.mechanician = mechanician - self.nonbookish = nonbookish - self.onopordon = onopordon - self.podgily = podgily - self.reformableness = reformableness - self.scatterbrains = scatterbrains - self.seminuria = seminuria - self.sodomite = sodomite - self.tramp = tramp - self.undueness = undueness - self.worthily = worthily - self.yankeeist = yankeeist - } -} - -enum Talpiform: Codable { - case double(Double) - case rebeccaClass(RebeccaClass) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Talpiform.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Talpiform")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Thwack: Codable { - case bool(Bool) - case double(Double) - case rebeccaClass(RebeccaClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - throw DecodingError.typeMismatch(Thwack.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Thwack")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .double(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - } - } -} - -enum Tortricine: Codable { - case rebeccaClass(RebeccaClass) - case unionArray([Int?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if let x = try? container.decode([Int?].self) { - self = .unionArray(x) - return - } - throw DecodingError.typeMismatch(Tortricine.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Tortricine")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .rebeccaClass(let x): - try container.encode(x) - case .unionArray(let x): - try container.encode(x) - } - } -} - -enum TruantcyUnion: Codable { - case bool(Bool) - case truantcyClass(TruantcyClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(TruantcyClass.self) { - self = .truantcyClass(x) - return - } - throw DecodingError.typeMismatch(TruantcyUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for TruantcyUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .truantcyClass(let x): - try container.encode(x) - } - } -} - -class TruantcyClass: Codable { - let alfiona, ascaridiasis, bungey: JSONNull? - let catharticalness: Double? - let ceroxyle: JSONNull? - let chirotherium: Int? - let chorology: JSONNull? - let disdiapason: String? - let enmarble, epeira, eurylaimi, germination: JSONNull? - let hallelujah: JSONNull? - let homocerc: Bool? - let lev, mouthing, nonbookish, philliloo: JSONNull? - let planetal, poney, punctualist, returnlessly: JSONNull? - let skelder, windwaywardly, yuman: JSONNull? - - enum CodingKeys: String, CodingKey { - case alfiona, ascaridiasis, bungey, catharticalness, ceroxyle - case chirotherium = "Chirotherium" - case chorology, disdiapason, enmarble - case epeira = "Epeira" - case eurylaimi = "Eurylaimi" - case germination, hallelujah, homocerc, lev, mouthing, nonbookish, philliloo, planetal, poney, punctualist, returnlessly, skelder, windwaywardly - case yuman = "Yuman" - } - - init(alfiona: JSONNull?, ascaridiasis: JSONNull?, bungey: JSONNull?, catharticalness: Double?, ceroxyle: JSONNull?, chirotherium: Int?, chorology: JSONNull?, disdiapason: String?, enmarble: JSONNull?, epeira: JSONNull?, eurylaimi: JSONNull?, germination: JSONNull?, hallelujah: JSONNull?, homocerc: Bool?, lev: JSONNull?, mouthing: JSONNull?, nonbookish: JSONNull?, philliloo: JSONNull?, planetal: JSONNull?, poney: JSONNull?, punctualist: JSONNull?, returnlessly: JSONNull?, skelder: JSONNull?, windwaywardly: JSONNull?, yuman: JSONNull?) { - self.alfiona = alfiona - self.ascaridiasis = ascaridiasis - self.bungey = bungey - self.catharticalness = catharticalness - self.ceroxyle = ceroxyle - self.chirotherium = chirotherium - self.chorology = chorology - self.disdiapason = disdiapason - self.enmarble = enmarble - self.epeira = epeira - self.eurylaimi = eurylaimi - self.germination = germination - self.hallelujah = hallelujah - self.homocerc = homocerc - self.lev = lev - self.mouthing = mouthing - self.nonbookish = nonbookish - self.philliloo = philliloo - self.planetal = planetal - self.poney = poney - self.punctualist = punctualist - self.returnlessly = returnlessly - self.skelder = skelder - self.windwaywardly = windwaywardly - self.yuman = yuman - } -} - -enum Unbeginning: Codable { - case integerMap([String: Int]) - case nullArray([JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Unbeginning.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unbeginning")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerMap(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Undesirability: Codable { - case integerArray([Int]) - case integerMap([String: Int]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Undesirability.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Undesirability")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integerArray(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Unerasing: Codable { - case integer(Int) - case integerMap([String: Int]) - case nullArray([JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Unerasing.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unerasing")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - } - } -} - -enum Unguentarium: Codable { - case integer(Int) - case nullArray([JSONNull?]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Unguentarium.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unguentarium")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum UnimpeachablyUnion: Codable { - case bool(Bool) - case unimpeachablyClass(UnimpeachablyClass) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(UnimpeachablyClass.self) { - self = .unimpeachablyClass(x) - return - } - throw DecodingError.typeMismatch(UnimpeachablyUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for UnimpeachablyUnion")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .unimpeachablyClass(let x): - try container.encode(x) - } - } -} - -class UnimpeachablyClass: Codable { - let acerin, bobadil: Int? - let catharticalness: Double? - let chirotherium, chlorophylligenous, conversational, demiowl: Int? - let disdiapason: String? - let ectorhinal, gamblesomeness: Int? - let homocerc: Bool? - let irrorate, kindergartening, lateritic, mespil: Int? - let misconfiguration: Int? - let nonbookish: JSONNull? - let planometry, quiina, robert, rot: Int? - let subcinctorium, tussocker, ultraproud, unsuggestedness: Int? - - enum CodingKeys: String, CodingKey { - case acerin - case bobadil = "Bobadil" - case catharticalness - case chirotherium = "Chirotherium" - case chlorophylligenous, conversational, demiowl, disdiapason, ectorhinal, gamblesomeness, homocerc, irrorate, kindergartening, lateritic, mespil, misconfiguration, nonbookish, planometry - case quiina = "Quiina" - case robert = "Robert" - case rot, subcinctorium, tussocker, ultraproud, unsuggestedness - } - - init(acerin: Int?, bobadil: Int?, catharticalness: Double?, chirotherium: Int?, chlorophylligenous: Int?, conversational: Int?, demiowl: Int?, disdiapason: String?, ectorhinal: Int?, gamblesomeness: Int?, homocerc: Bool?, irrorate: Int?, kindergartening: Int?, lateritic: Int?, mespil: Int?, misconfiguration: Int?, nonbookish: JSONNull?, planometry: Int?, quiina: Int?, robert: Int?, rot: Int?, subcinctorium: Int?, tussocker: Int?, ultraproud: Int?, unsuggestedness: Int?) { - self.acerin = acerin - self.bobadil = bobadil - self.catharticalness = catharticalness - self.chirotherium = chirotherium - self.chlorophylligenous = chlorophylligenous - self.conversational = conversational - self.demiowl = demiowl - self.disdiapason = disdiapason - self.ectorhinal = ectorhinal - self.gamblesomeness = gamblesomeness - self.homocerc = homocerc - self.irrorate = irrorate - self.kindergartening = kindergartening - self.lateritic = lateritic - self.mespil = mespil - self.misconfiguration = misconfiguration - self.nonbookish = nonbookish - self.planometry = planometry - self.quiina = quiina - self.robert = robert - self.rot = rot - self.subcinctorium = subcinctorium - self.tussocker = tussocker - self.ultraproud = ultraproud - self.unsuggestedness = unsuggestedness - } -} - -enum Unmortgaged: Codable { - case double(Double) - case integerMap([String: Int]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Unmortgaged.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unmortgaged")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Unobstructed: Codable { - case integer(Int) - case rebeccaClass(RebeccaClass) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(RebeccaClass.self) { - self = .rebeccaClass(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Unobstructed.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unobstructed")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .rebeccaClass(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Unreceptivity: Codable { - case integer(Int) - case nullArray([JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Unreceptivity.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unreceptivity")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .integer(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Unsatisfactoriness: Codable { - case bool(Bool) - case integer(Int) - case integerArray([Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Int.self) { - self = .integer(x) - return - } - if let x = try? container.decode([Int].self) { - self = .integerArray(x) - return - } - throw DecodingError.typeMismatch(Unsatisfactoriness.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unsatisfactoriness")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .integer(let x): - try container.encode(x) - case .integerArray(let x): - try container.encode(x) - } - } -} - -enum Unstressed: Codable { - case bool(Bool) - case nullMap([String: JSONNull?]) - case string(String) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(String.self) { - self = .string(x) - return - } - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - throw DecodingError.typeMismatch(Unstressed.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unstressed")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - case .string(let x): - try container.encode(x) - } - } -} - -enum Untasked: Codable { - case double(Double) - case integerMap([String: Int]) - case nullArray([JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Untasked.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Untasked")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .double(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - } - } -} - -enum Unvarying: Codable { - case bool(Bool) - case double(Double) - case integerMap([String: Int]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode(Double.self) { - self = .double(x) - return - } - if let x = try? container.decode([String: Int].self) { - self = .integerMap(x) - return - } - throw DecodingError.typeMismatch(Unvarying.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unvarying")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .double(let x): - try container.encode(x) - case .integerMap(let x): - try container.encode(x) - } - } -} - -enum Vehemently: Codable { - case bool(Bool) - case nullArray([JSONNull?]) - case null - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode(Bool.self) { - self = .bool(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - if container.decodeNil() { - self = .null - return - } - throw DecodingError.typeMismatch(Vehemently.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Vehemently")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .bool(let x): - try container.encode(x) - case .nullArray(let x): - try container.encode(x) - case .null: - try container.encodeNil() - } - } -} - -enum Wrothy: Codable { - case nullArray([JSONNull?]) - case nullMap([String: JSONNull?]) - - init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if let x = try? container.decode([String: JSONNull?].self) { - self = .nullMap(x) - return - } - if let x = try? container.decode([JSONNull?].self) { - self = .nullArray(x) - return - } - throw DecodingError.typeMismatch(Wrothy.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Wrothy")) - } - - func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - switch self { - case .nullArray(let x): - try container.encode(x) - case .nullMap(let x): - try container.encode(x) - } - } -} - -// MARK: Convenience initializers - -extension TopLevel { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(TopLevel.self, from: data) - self.init(abranchiata: me.abranchiata, academe: me.academe, acquirable: me.acquirable, aerometry: me.aerometry, alexin: me.alexin, alleviate: me.alleviate, amaas: me.amaas, ambassage: me.ambassage, amphithyron: me.amphithyron, andriana: me.andriana, ankee: me.ankee, annihilator: me.annihilator, annulose: me.annulose, ansarie: me.ansarie, aphasia: me.aphasia, asprawl: me.asprawl, attractive: me.attractive, barksome: me.barksome, bedesman: me.bedesman, belard: me.belard, bocking: me.bocking, brawlingly: me.brawlingly, brookie: me.brookie, bumboatman: me.bumboatman, bystreet: me.bystreet, calaverite: me.calaverite, catallactic: me.catallactic, cemental: me.cemental, centrodesmose: me.centrodesmose, cerograph: me.cerograph, chemotherapeutics: me.chemotherapeutics, chytridiaceae: me.chytridiaceae, cimelia: me.cimelia, citrated: me.citrated, clinodome: me.clinodome, coadjust: me.coadjust, consilience: me.consilience, constructor: me.constructor, continuative: me.continuative, credulity: me.credulity, creviced: me.creviced, cubiculum: me.cubiculum, deruralize: me.deruralize, diaereses: me.diaereses, discordia: me.discordia, dissolution: me.dissolution, downstroke: me.downstroke, electrotautomerism: me.electrotautomerism, eleutheromania: me.eleutheromania, encrust: me.encrust, endomyces: me.endomyces, entomoid: me.entomoid, epinephelidae: me.epinephelidae, epipaleolithic: me.epipaleolithic, eupatorium: me.eupatorium, expropriable: me.expropriable, faggingly: me.faggingly, fenks: me.fenks, flagmaking: me.flagmaking, fluorometer: me.fluorometer, fulsome: me.fulsome, fuzzy: me.fuzzy, gardenwards: me.gardenwards, generalissimo: me.generalissimo, gryphosaurus: me.gryphosaurus, habeas: me.habeas, hemicrystalline: me.hemicrystalline, hemocoele: me.hemocoele, hoister: me.hoister, hyperpiesis: me.hyperpiesis, hyppish: me.hyppish, idealizer: me.idealizer, incrustator: me.incrustator, intentiveness: me.intentiveness, interacinar: me.interacinar, intercorrelation: me.intercorrelation, jacutinga: me.jacutinga, juror: me.juror, kongoni: me.kongoni, koryak: me.koryak, ladronism: me.ladronism, landlubberly: me.landlubberly, lavinia: me.lavinia, listener: me.listener, lupus: me.lupus, maslin: me.maslin, monazite: me.monazite, monoliteral: me.monoliteral, monotheistically: me.monotheistically, montage: me.montage, moralness: me.moralness, mowra: me.mowra, mulishly: me.mulishly, myoscope: me.myoscope, nach: me.nach, neuromastic: me.neuromastic, noncontributing: me.noncontributing, nonnervous: me.nonnervous, nonvaluation: me.nonvaluation, occupationalist: me.occupationalist, oskar: me.oskar, outrival: me.outrival, paleographically: me.paleographically, pamphletwise: me.pamphletwise, pediatrics: me.pediatrics, perceptive: me.perceptive, piaculum: me.piaculum, piccadilly: me.piccadilly, piffler: me.piffler, pithful: me.pithful, placuntitis: me.placuntitis, plectopterous: me.plectopterous, pneumocele: me.pneumocele, poliorcetic: me.poliorcetic, poormaster: me.poormaster, potwhisky: me.potwhisky, practicalizer: me.practicalizer, prefreshman: me.prefreshman, prehensility: me.prehensility, prevoidance: me.prevoidance, probant: me.probant, protext: me.protext, protrusive: me.protrusive, pulpitism: me.pulpitism, pyodermia: me.pyodermia, quebrachine: me.quebrachine, querier: me.querier, rebarbative: me.rebarbative, rebecca: me.rebecca, reimagine: me.reimagine, ressaut: me.ressaut, retrocervical: me.retrocervical, revert: me.revert, rewrite: me.rewrite, rhomboganoidei: me.rhomboganoidei, rigsmal: me.rigsmal, ruellia: me.ruellia, saccoderm: me.saccoderm, santir: me.santir, saprophilous: me.saprophilous, saxten: me.saxten, scatty: me.scatty, school: me.school, scoffer: me.scoffer, scrampum: me.scrampum, semantic: me.semantic, serpentinic: me.serpentinic, shadowable: me.shadowable, shakespearolater: me.shakespearolater, sistering: me.sistering, staghunting: me.staghunting, stagmometer: me.stagmometer, stimulability: me.stimulability, strangleable: me.strangleable, strenuosity: me.strenuosity, svan: me.svan, tabaxir: me.tabaxir, talpiform: me.talpiform, thwack: me.thwack, to: me.to, tortricine: me.tortricine, truantcy: me.truantcy, turgesce: me.turgesce, unbeginning: me.unbeginning, underdunged: me.underdunged, undesirability: me.undesirability, unerasing: me.unerasing, unguentarium: me.unguentarium, unimpeachably: me.unimpeachably, unmortgaged: me.unmortgaged, unobstructed: me.unobstructed, unreceptivity: me.unreceptivity, unsatisfactoriness: me.unsatisfactoriness, unsecurity: me.unsecurity, unstressed: me.unstressed, untasked: me.untasked, unvarying: me.unvarying, vehemently: me.vehemently, warriorship: me.warriorship, wayao: me.wayao, whitepot: me.whitepot, wrothy: me.wrothy) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension RebeccaClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(RebeccaClass.self, from: data) - self.init(catharticalness: me.catharticalness, chirotherium: me.chirotherium, disdiapason: me.disdiapason, homocerc: me.homocerc, nonbookish: me.nonbookish) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension Amphithyron { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(Amphithyron.self, from: data) - self.init(akroasis: me.akroasis, antiphonical: me.antiphonical, basebred: me.basebred, catharticalness: me.catharticalness, chirotherium: me.chirotherium, conductometric: me.conductometric, disdiapason: me.disdiapason, ensilation: me.ensilation, eyebolt: me.eyebolt, fistulated: me.fistulated, heteropod: me.heteropod, homocerc: me.homocerc, juniperus: me.juniperus, labyrinthically: me.labyrinthically, martyrization: me.martyrization, mispolicy: me.mispolicy, multipara: me.multipara, nazirite: me.nazirite, nonbookish: me.nonbookish, possessorial: me.possessorial, shamed: me.shamed, shelfworn: me.shelfworn, stagnum: me.stagnum, those: me.those, undecimal: me.undecimal) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension ChemotherapeuticClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(ChemotherapeuticClass.self, from: data) - self.init(angioneurotic: me.angioneurotic, availment: me.availment, bladelet: me.bladelet, catharticalness: me.catharticalness, caulis: me.caulis, chalcus: me.chalcus, chirotherium: me.chirotherium, disdiapason: me.disdiapason, enteradenological: me.enteradenological, homocerc: me.homocerc, imporosity: me.imporosity, insistently: me.insistently, intraparietal: me.intraparietal, ivied: me.ivied, maureen: me.maureen, nonbookish: me.nonbookish, nostochine: me.nostochine, nutcracker: me.nutcracker, ofttimes: me.ofttimes, phenocryst: me.phenocryst, precoincident: me.precoincident, ramiferous: me.ramiferous, stagmometer: me.stagmometer, tetherball: me.tetherball, unshy: me.unshy) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension CoadjustClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(CoadjustClass.self, from: data) - self.init(amidosulphonal: me.amidosulphonal, benny: me.benny, catharticalness: me.catharticalness, chirotherium: me.chirotherium, disdiapason: me.disdiapason, ensnare: me.ensnare, homocerc: me.homocerc, hybridizer: me.hybridizer, leastwise: me.leastwise, lof: me.lof, monkhood: me.monkhood, netherlandish: me.netherlandish, nonbookish: me.nonbookish, peonism: me.peonism, phonelescope: me.phonelescope, porphyrogeniture: me.porphyrogeniture, preindemnify: me.preindemnify, rosal: me.rosal, scalenous: me.scalenous, scopine: me.scopine, sedaceae: me.sedaceae, suberinize: me.suberinize, symbiot: me.symbiot, tablefellow: me.tablefellow, unchargeable: me.unchargeable) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension DiscordiaClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(DiscordiaClass.self, from: data) - self.init(altaic: me.altaic, amoristic: me.amoristic, blennophthalmia: me.blennophthalmia, catharticalness: me.catharticalness, chirotherium: me.chirotherium, disciplinability: me.disciplinability, disdiapason: me.disdiapason, goofer: me.goofer, homocerc: me.homocerc, laryngograph: me.laryngograph, leucitis: me.leucitis, lymphocyst: me.lymphocyst, microcosmology: me.microcosmology, nauseation: me.nauseation, nonbookish: me.nonbookish, patarin: me.patarin, preliberal: me.preliberal, prettifier: me.prettifier, rangework: me.rangework, redient: me.redient, subfusiform: me.subfusiform, suicidical: me.suicidical, swow: me.swow, wastrel: me.wastrel, wingle: me.wingle) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension HemocoeleClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(HemocoeleClass.self, from: data) - self.init(acrogamy: me.acrogamy, amelification: me.amelification, autobiographic: me.autobiographic, berat: me.berat, catharticalness: me.catharticalness, chirotherium: me.chirotherium, disdiapason: me.disdiapason, disproportionably: me.disproportionably, erythrite: me.erythrite, graphic: me.graphic, hepatological: me.hepatological, homocerc: me.homocerc, incommensurably: me.incommensurably, misaffirm: me.misaffirm, nonbookish: me.nonbookish, pocketbook: me.pocketbook, sclerometric: me.sclerometric, stambouline: me.stambouline, stickpin: me.stickpin, tubulure: me.tubulure, undelated: me.undelated, unsalt: me.unsalt, untutelar: me.untutelar, vagrant: me.vagrant, walt: me.walt) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension Interacinar { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(Interacinar.self, from: data) - self.init(assapan: me.assapan, benefactorship: me.benefactorship, triseriatim: me.triseriatim, tubbing: me.tubbing, untrimmed: me.untrimmed) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension LaviniaClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(LaviniaClass.self, from: data) - self.init(agitable: me.agitable, asininity: me.asininity, benefiter: me.benefiter, bronzelike: me.bronzelike, catharticalness: me.catharticalness, chirotherium: me.chirotherium, cholesteatomatous: me.cholesteatomatous, deprivement: me.deprivement, disdiapason: me.disdiapason, flippantness: me.flippantness, fogproof: me.fogproof, homocerc: me.homocerc, merrymeeting: me.merrymeeting, nonbookish: me.nonbookish, overcareful: me.overcareful, panaris: me.panaris, preacceptance: me.preacceptance, quinoxaline: me.quinoxaline, sig: me.sig, superconfusion: me.superconfusion, tacana: me.tacana, tillotter: me.tillotter, tranquillize: me.tranquillize, unquestionable: me.unquestionable, uproute: me.uproute) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension LupusClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(LupusClass.self, from: data) - self.init(catharticalness: me.catharticalness, chirotherium: me.chirotherium, chlorioninae: me.chlorioninae, corvinae: me.corvinae, crassina: me.crassina, disdiapason: me.disdiapason, exiguity: me.exiguity, farcist: me.farcist, holographical: me.holographical, homocerc: me.homocerc, ichthyophagan: me.ichthyophagan, implacable: me.implacable, nonbookish: me.nonbookish, outshiner: me.outshiner, overweather: me.overweather, protonegroid: me.protonegroid, shallowish: me.shallowish, snoke: me.snoke, snout: me.snout, surveillance: me.surveillance, threshingtime: me.threshingtime, thysanocarpus: me.thysanocarpus, unsignificantly: me.unsignificantly, unsnap: me.unsnap, vendible: me.vendible) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension Maslin { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(Maslin.self, from: data) - self.init(alicant: me.alicant, antiatonement: me.antiatonement, anticorrosive: me.anticorrosive, aphidozer: me.aphidozer, bakuninist: me.bakuninist, be: me.be, catharticalness: me.catharticalness, chirotherium: me.chirotherium, chub: me.chub, cuprosilicon: me.cuprosilicon, curtailedly: me.curtailedly, dellenite: me.dellenite, dimitry: me.dimitry, disdiapason: me.disdiapason, edifying: me.edifying, ethmoiditis: me.ethmoiditis, gastralgy: me.gastralgy, goatherd: me.goatherd, hammerdress: me.hammerdress, hangfire: me.hangfire, homocerc: me.homocerc, lacunosity: me.lacunosity, longiloquence: me.longiloquence, mameliere: me.mameliere, motherless: me.motherless, nonbookish: me.nonbookish, noncorrodible: me.noncorrodible, nonsensicality: me.nonsensicality, oafishly: me.oafishly, pfund: me.pfund, preadvisory: me.preadvisory, retroflexed: me.retroflexed, saccharulmic: me.saccharulmic, scowlful: me.scowlful, secluded: me.secluded, slackage: me.slackage, sphaeridial: me.sphaeridial, spondulics: me.spondulics, subsecive: me.subsecive, swellmobsman: me.swellmobsman, trachyglossate: me.trachyglossate, trialogue: me.trialogue, unassuaged: me.unassuaged, ungross: me.ungross, unjudiciously: me.unjudiciously) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension MonotheisticallyClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(MonotheisticallyClass.self, from: data) - self.init(blaspheme: me.blaspheme, catharticalness: me.catharticalness, celiosalpingectomy: me.celiosalpingectomy, chirotherium: me.chirotherium, consummativeness: me.consummativeness, disdiapason: me.disdiapason, egestive: me.egestive, enchylema: me.enchylema, gasconade: me.gasconade, holidayer: me.holidayer, homocerc: me.homocerc, intuitionalism: me.intuitionalism, lophiostomate: me.lophiostomate, nonbookish: me.nonbookish, nonvolition: me.nonvolition, palatableness: me.palatableness, pimpery: me.pimpery, previolation: me.previolation, reconveyance: me.reconveyance, registership: me.registership, rhyacolite: me.rhyacolite, smithereens: me.smithereens, superedification: me.superedification, trust: me.trust, whitestone: me.whitestone) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension Noncontributing { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(Noncontributing.self, from: data) - self.init(estevin: me.estevin, jolterhead: me.jolterhead, sauternes: me.sauternes, sparsely: me.sparsely, unrequested: me.unrequested) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension PiaculumClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(PiaculumClass.self, from: data) - self.init(alada: me.alada, amphistomous: me.amphistomous, boysenberry: me.boysenberry, catharticalness: me.catharticalness, chirotherium: me.chirotherium, decardinalize: me.decardinalize, discouragement: me.discouragement, disdiapason: me.disdiapason, doitrified: me.doitrified, hexaspermous: me.hexaspermous, homocerc: me.homocerc, insinking: me.insinking, loathfulness: me.loathfulness, miasmatical: me.miasmatical, neurofibril: me.neurofibril, nonbookish: me.nonbookish, phonendoscope: me.phonendoscope, pilferment: me.pilferment, predismissory: me.predismissory, preinscription: me.preinscription, quotative: me.quotative, sienna: me.sienna, thorax: me.thorax, yachting: me.yachting, zipper: me.zipper) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension Pneumocele { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(Pneumocele.self, from: data) - self.init(carbonarism: me.carbonarism, catharticalness: me.catharticalness, chirotherium: me.chirotherium, cineolic: me.cineolic, cobbly: me.cobbly, conchyliferous: me.conchyliferous, congregation: me.congregation, disdiapason: me.disdiapason, enterotomy: me.enterotomy, entophytal: me.entophytal, fewtrils: me.fewtrils, herem: me.herem, homocerc: me.homocerc, koniga: me.koniga, meticulosity: me.meticulosity, micky: me.micky, mismarriage: me.mismarriage, neurotrophic: me.neurotrophic, nonbookish: me.nonbookish, persuasively: me.persuasively, replaceable: me.replaceable, silex: me.silex, taillight: me.taillight, unjealous: me.unjealous, visitorial: me.visitorial) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension Reimagine { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(Reimagine.self, from: data) - self.init(adducible: me.adducible, anabolin: me.anabolin, brainy: me.brainy, catharticalness: me.catharticalness, chirotherium: me.chirotherium, chrysamine: me.chrysamine, disdiapason: me.disdiapason, fluxweed: me.fluxweed, glaucine: me.glaucine, grobianism: me.grobianism, hermo: me.hermo, hieroglyphist: me.hieroglyphist, homocerc: me.homocerc, icteroid: me.icteroid, immortal: me.immortal, impetulant: me.impetulant, irrigate: me.irrigate, myxedema: me.myxedema, nonbookish: me.nonbookish, onyx: me.onyx, repasser: me.repasser, septomarginal: me.septomarginal, subdie: me.subdie, tibiometatarsal: me.tibiometatarsal, waltzlike: me.waltzlike) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension SaxtenClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(SaxtenClass.self, from: data) - self.init(algarrobilla: me.algarrobilla, bowgrace: me.bowgrace, catharticalness: me.catharticalness, centaurid: me.centaurid, chirotherium: me.chirotherium, disdiapason: me.disdiapason, flix: me.flix, germanely: me.germanely, homocerc: me.homocerc, inhume: me.inhume, lepidote: me.lepidote, megalochirous: me.megalochirous, ninepenny: me.ninepenny, nonbookish: me.nonbookish, nondeist: me.nondeist, nymphaeaceous: me.nymphaeaceous, parietofrontal: me.parietofrontal, sancyite: me.sancyite, subjectivist: me.subjectivist, tibiad: me.tibiad, transonic: me.transonic, tripetalous: me.tripetalous, trunchman: me.trunchman, urger: me.urger, withdrawnness: me.withdrawnness) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension Staghunting { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(Staghunting.self, from: data) - self.init(calorimetric: me.calorimetric, canid: me.canid, catharticalness: me.catharticalness, chirotherium: me.chirotherium, disdiapason: me.disdiapason, ditriglyphic: me.ditriglyphic, floriferousness: me.floriferousness, gamelike: me.gamelike, grig: me.grig, homocerc: me.homocerc, interloan: me.interloan, lithotomy: me.lithotomy, loric: me.loric, membranocoriaceous: me.membranocoriaceous, membranogenic: me.membranogenic, nonbookish: me.nonbookish, overtrump: me.overtrump, scotino: me.scotino, seasonable: me.seasonable, sephen: me.sephen, stigmarioid: me.stigmarioid, tired: me.tired, trifid: me.trifid, undefeatedly: me.undefeatedly, ungirlish: me.ungirlish) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension StrenuosityClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(StrenuosityClass.self, from: data) - self.init(bliss: me.bliss, buccate: me.buccate, bulletproof: me.bulletproof, catharticalness: me.catharticalness, chirotherium: me.chirotherium, crumblingness: me.crumblingness, disdiapason: me.disdiapason, engagedly: me.engagedly, fightable: me.fightable, hoariness: me.hoariness, homocerc: me.homocerc, hypopodium: me.hypopodium, luxurist: me.luxurist, mechanician: me.mechanician, nonbookish: me.nonbookish, onopordon: me.onopordon, podgily: me.podgily, reformableness: me.reformableness, scatterbrains: me.scatterbrains, seminuria: me.seminuria, sodomite: me.sodomite, tramp: me.tramp, undueness: me.undueness, worthily: me.worthily, yankeeist: me.yankeeist) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension TruantcyClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(TruantcyClass.self, from: data) - self.init(alfiona: me.alfiona, ascaridiasis: me.ascaridiasis, bungey: me.bungey, catharticalness: me.catharticalness, ceroxyle: me.ceroxyle, chirotherium: me.chirotherium, chorology: me.chorology, disdiapason: me.disdiapason, enmarble: me.enmarble, epeira: me.epeira, eurylaimi: me.eurylaimi, germination: me.germination, hallelujah: me.hallelujah, homocerc: me.homocerc, lev: me.lev, mouthing: me.mouthing, nonbookish: me.nonbookish, philliloo: me.philliloo, planetal: me.planetal, poney: me.poney, punctualist: me.punctualist, returnlessly: me.returnlessly, skelder: me.skelder, windwaywardly: me.windwaywardly, yuman: me.yuman) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -extension UnimpeachablyClass { - convenience init?(data: Data) throws { - let me = try JSONDecoder().decode(UnimpeachablyClass.self, from: data) - self.init(acerin: me.acerin, bobadil: me.bobadil, catharticalness: me.catharticalness, chirotherium: me.chirotherium, chlorophylligenous: me.chlorophylligenous, conversational: me.conversational, demiowl: me.demiowl, disdiapason: me.disdiapason, ectorhinal: me.ectorhinal, gamblesomeness: me.gamblesomeness, homocerc: me.homocerc, irrorate: me.irrorate, kindergartening: me.kindergartening, lateritic: me.lateritic, mespil: me.mespil, misconfiguration: me.misconfiguration, nonbookish: me.nonbookish, planometry: me.planometry, quiina: me.quiina, robert: me.robert, rot: me.rot, subcinctorium: me.subcinctorium, tussocker: me.tussocker, ultraproud: me.ultraproud, unsuggestedness: me.unsuggestedness) - } - - convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { - guard let data = json.data(using: encoding) else { return nil } - try self.init(data: data) - } - - convenience init?(fromURL url: String) throws { - guard let url = URL(string: url) else { return nil } - let data = try Data(contentsOf: url) - try self.init(data: data) - } - - func jsonData() throws -> Data { - return try JSONEncoder().encode(self) - } - - func jsonString() throws -> String? { - return String(data: try self.jsonData(), encoding: .utf8) - } -} - -// MARK: Encode/decode helpers - -class JSONNull: Codable { - public init() {} - - public required init(from decoder: Decoder) throws { - let container = try decoder.singleValueContainer() - if !container.decodeNil() { - throw DecodingError.typeMismatch(JSONNull.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for JSONNull")) - } - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - try container.encodeNil() - } -} From 5a0381c370e55e30a17fea13dae4e397bca2ef23 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Tue, 7 May 2019 14:38:08 -0400 Subject: [PATCH 11/37] Fix the Swift tests to reflect their new reality --- test/languages.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/languages.ts b/test/languages.ts index 0177230252..f409c85a36 100644 --- a/test/languages.ts +++ b/test/languages.ts @@ -96,9 +96,7 @@ export const JavaLanguage: Language = { skipMiscJSON: false, skipSchema: ["keyword-unions.schema"], // generates classes with names that are case-insensitively equal rendererOptions: {}, - quickTestRendererOptions: [ - { "array-type": "list" } - ], + quickTestRendererOptions: [{ "array-type": "list" }], sourceFiles: ["src/language/Java.ts"] }; @@ -450,7 +448,7 @@ export const ElmLanguage: Language = { export const SwiftLanguage: Language = { name: "swift", base: "test/fixtures/swift", - compileCommand: `swiftc -o quicktype main.swift quicktype.swift`, + compileCommand: `swiftc -o quicktype *.swift`, runCommand(sample: string) { return `./quicktype "${sample}"`; }, @@ -492,7 +490,7 @@ export const SwiftLanguage: Language = { ], allowMissingNull: true, features: ["enum", "union", "no-defaults", "date-time"], - output: "quicktype.swift", + output: "TopLevel.swift", topLevel: "TopLevel", skipJSON: [ // Swift only supports top-level arrays and objects From aca272fa35569ceae0fb81d23733c0421b7fbcdc Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Tue, 7 May 2019 16:23:13 -0400 Subject: [PATCH 12/37] Correct some of the code generation in the JSONSchemaSupport.swift file --- src/quicktype-core/language/Swift.ts | 57 ++++++++++++++++++++-------- 1 file changed, 42 insertions(+), 15 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index bf61fa402a..5c7a6a081b 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -566,6 +566,14 @@ export class SwiftRenderer extends ConvenienceRenderer { : this._options.accessLevel + " "; } + private get objcMembersDeclaration(): string { + if (this._options.objcSupport) { + return "@objcMembers "; + } + + return ""; + } + /// startFile takes a file name, appends ".swift" to it and sets it as the current filename. protected startFile(basename: Sourcelike): void { assert(this._currentFilename === undefined, "Previous file wasn't finished: " + this._currentFilename); @@ -590,7 +598,7 @@ export class SwiftRenderer extends ConvenienceRenderer { if (isClass && this._options.objcSupport) { // [Michael Fey (@MrRooni), 2019-4-24] Swift 5 or greater, must come before the access declaration for the class. - this.emitItem("@objcMembers "); + this.emitItem(this.objcMembersDeclaration); } this.emitBlockWithAccess([structOrClass, " ", className, this.getProtocolString(c, isClass)], () => { @@ -678,7 +686,7 @@ export class SwiftRenderer extends ConvenienceRenderer { if (properties.length > 0) properties.push(", "); properties.push(name, ": ", this.swiftPropertyType(p)); }); - if (this.propertyCount(c) === 0) { + if (this.propertyCount(c) === 0 && this._options.objcSupport) { this.emitBlockWithAccess(["override init()"], () => { ""; }); @@ -984,14 +992,14 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); this.emitLine("import Foundation"); - // TODO: [Roo, 2019-5-6] This can't stay here… Find where it was originally and put it back + // TODO: [Michael Fey (@MrRooni), 2019-5-6] This can't stay here… Find where it was originally and put it back this.forEachTopLevel( "leading", (t: Type, name: Name) => this.renderTopLevelAlias(t, name), t => this.namedTypeToNameForTopLevel(t) === undefined ); - // TODO: [Roo, 2019-5-6] This can't stay here… Find where it was originally and put it back + // TODO: [Michael Fey (@MrRooni), 2019-5-6] This can't stay here… Find where it was originally and put it back if (this._options.convenienceInitializers) { this.ensureBlankLine(); this.forEachTopLevel("leading-and-interposing", (t: Type, name: Name) => @@ -1016,21 +1024,34 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); this.ensureBlankLine(); this.emitMark("Encode/decode helpers"); this.ensureBlankLine(); - this.emitMultiline(`${this.accessLevel}class JSONNull: Codable, Hashable { - - public static func == (lhs: JSONNull, rhs: JSONNull) -> Bool { + if (this._options.objcSupport) { + this.emitLine(this.objcMembersDeclaration, this.accessLevel, "class JSONNull: NSObject, Codable {"); + } else { + this.emitLine(this.accessLevel, "class JSONNull: Codable, Hashable {"); + } + this.ensureBlankLine(); + this.emitMultiline(` public static func == (lhs: JSONNull, rhs: JSONNull) -> Bool { return true - } - - public var hashValue: Int { + }`); + + if (this._options.objcSupport === false) { + this.ensureBlankLine(); + this.emitMultiline(` public var hashValue: Int { return 0 } public func hash(into hasher: inout Hasher) { // No-op - } + }`); + } - public init() {} + this.ensureBlankLine(); + if (this._options.objcSupport) { + this.emitItem(" override "); + } else { + this.emitItem(" "); + } + this.emitMultiline(`public init() {} public required init(from decoder: Decoder) throws { let container = try decoder.singleValueContainer() @@ -1065,10 +1086,16 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); var stringValue: String { return key } -} +}`); -${this.accessLevel}class JSONAny: Codable { - ${this.accessLevel}let value: Any + this.ensureBlankLine(); + if (this._options.objcSupport) { + this.emitLine(this.objcMembersDeclaration, this.accessLevel, "class JSONAny: NSObject, Codable {"); + } else { + this.emitLine(this.accessLevel, "class JSONAny: Codable {"); + } + this.ensureBlankLine(); + this.emitMultiline(` ${this.accessLevel}let value: Any static func decodingError(forCodingPath codingPath: [CodingKey]) -> DecodingError { let context = DecodingError.Context(codingPath: codingPath, debugDescription: "Cannot decode JSONAny") From 147196f6c36c7cb6eca44d28675e41d1f9055eda Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Tue, 7 May 2019 18:42:14 -0400 Subject: [PATCH 13/37] More test fixes --- test/languages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/languages.ts b/test/languages.ts index f409c85a36..5b259aa8ec 100644 --- a/test/languages.ts +++ b/test/languages.ts @@ -490,7 +490,7 @@ export const SwiftLanguage: Language = { ], allowMissingNull: true, features: ["enum", "union", "no-defaults", "date-time"], - output: "TopLevel.swift", + output: "JSONSchemaSupport.swift", topLevel: "TopLevel", skipJSON: [ // Swift only supports top-level arrays and objects From 075435f9fb943a0d40e4dbad059c1df9af943d23 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 09:30:44 -0400 Subject: [PATCH 14/37] Handle multiple objects with case-insensitive matching names --- src/quicktype-core/Renderer.ts | 12 ++++++++++++ src/quicktype-core/language/Swift.ts | 1 + 2 files changed, 13 insertions(+) diff --git a/src/quicktype-core/Renderer.ts b/src/quicktype-core/Renderer.ts index 268174fb3d..950417855d 100644 --- a/src/quicktype-core/Renderer.ts +++ b/src/quicktype-core/Renderer.ts @@ -119,6 +119,7 @@ export abstract class Renderer { private _names: ReadonlyMap | undefined; private _finishedFiles: Map; + private _finishedEmitContexts: Map; private _emitContext: EmitContext; @@ -127,6 +128,7 @@ export abstract class Renderer { this.leadingComments = renderContext.leadingComments; this._finishedFiles = new Map(); + this._finishedEmitContexts = new Map(); this._emitContext = new EmitContext(); } @@ -266,10 +268,20 @@ export abstract class Renderer { return assignNames(this.setUpNaming()); } + protected initializeEmitContextForFilename(filename: string): void { + if (this._finishedEmitContexts.has(filename.toLowerCase().toString())) { + const existingEmitContext = this._finishedEmitContexts.get(filename.toLowerCase().toString()); + if (existingEmitContext !== undefined) { + this._emitContext = existingEmitContext; + } + } + } + protected finishFile(filename: string): void { assert(!this._finishedFiles.has(filename), `Tried to emit file ${filename} more than once`); const source = sourcelikeToSource(this._emitContext.source); this._finishedFiles.set(filename, source); + this._finishedEmitContexts.set(filename.toLowerCase().toString(), this._emitContext); this._emitContext = new EmitContext(); } diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 5c7a6a081b..b136fd795b 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -579,6 +579,7 @@ export class SwiftRenderer extends ConvenienceRenderer { assert(this._currentFilename === undefined, "Previous file wasn't finished: " + this._currentFilename); // FIXME: The filenames should actually be Sourcelikes, too this._currentFilename = `${this.sourcelikeToString(basename)}.swift`; + this.initializeEmitContextForFilename(this._currentFilename); } /// finishFile pushes the current file name onto the collection of finished files and then resets the current file name. These finished files are used in index.ts to write the output. From 90a20970f774cd664622fe2e9112f687d7fde4b3 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 10:15:06 -0400 Subject: [PATCH 15/37] Add support for emitting a line once --- src/quicktype-core/Renderer.ts | 22 ++++++++++++++++++++++ src/quicktype-core/language/Swift.ts | 8 ++++---- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/src/quicktype-core/Renderer.ts b/src/quicktype-core/Renderer.ts index 950417855d..7840f09aac 100644 --- a/src/quicktype-core/Renderer.ts +++ b/src/quicktype-core/Renderer.ts @@ -95,6 +95,11 @@ class EmitContext { this.pushItem(item); } + containsItem(item: Sourcelike): boolean { + const existingItem = this._currentEmitTarget.find((value: Sourcelike) => item === value); + return existingItem !== undefined; + } + ensureBlankLine(numBlankLines: number): void { if (this._preventBlankLine) return; this._numBlankLinesNeeded = Math.max(this._numBlankLinesNeeded, numBlankLines); @@ -144,6 +149,23 @@ export abstract class Renderer { this._emitContext.emitItem(item); } + emitItemOnce(item: Sourcelike): void { + if (this._emitContext.containsItem(item)) { + return; + } + + this.emitItem(item); + } + + emitLineOnce(...lineParts: Sourcelike[]): void { + if (lineParts.length === 1) { + this.emitItemOnce(lineParts[0]); + } else if (lineParts.length > 1) { + this.emitItemOnce(lineParts); + } + this._emitContext.emitNewline(); + } + emitLine(...lineParts: Sourcelike[]): void { if (lineParts.length === 1) { this._emitContext.emitItem(lineParts[0]); diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index b136fd795b..5c8ce7ba86 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -489,7 +489,7 @@ export class SwiftRenderer extends ConvenienceRenderer { } } this.ensureBlankLine(); - this.emitLine("import Foundation"); + this.emitLineOnce("import Foundation"); this.ensureBlankLine(); if (!this._options.justTypes && this._options.alamofire) { this.emitLine("import Alamofire"); @@ -833,7 +833,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); private renderEnumDefinition(e: EnumType, enumName: Name): void { this.startFile(enumName); - this.emitLine("import Foundation"); + this.emitLineOnce("import Foundation"); this.ensureBlankLine(); this.emitDescription(this.descriptionForType(e)); @@ -874,7 +874,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); private renderUnionDefinition(u: UnionType, unionName: Name): void { this.startFile(unionName); - this.emitLine("import Foundation"); + this.emitLineOnce("import Foundation"); this.ensureBlankLine(); function sortBy(t: Type): string { @@ -991,7 +991,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); private emitSupportFunctions4 = (): void => { this.startFile("JSONSchemaSupport"); - this.emitLine("import Foundation"); + this.emitLineOnce("import Foundation"); // TODO: [Michael Fey (@MrRooni), 2019-5-6] This can't stay here… Find where it was originally and put it back this.forEachTopLevel( From 4f49725f52ce36f47a7391b7e27bfffa903895c9 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 10:53:51 -0400 Subject: [PATCH 16/37] Manually repair merge conflict --- src/quicktype-core/language/Swift.ts | 37 ++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 5c8ce7ba86..ef13f7adb6 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -37,7 +37,7 @@ import { camelCase, addPrefixIfNecessary } from "../support/Strings"; -import { RenderContext } from "../Renderer"; +import { RenderContext, ForEachPosition } from "../Renderer"; import { StringTypeMapping } from "../TypeBuilder"; import { panic } from "../support/Support"; import { DefaultDateTimeRecognizer, DateTimeRecognizer } from "../DateTime"; @@ -99,6 +99,13 @@ class SwiftDateTimeRecognizer extends DefaultDateTimeRecognizer { } } +export interface SwiftProperty { + name: Name; + jsonName: string; + parameter: ClassProperty; + position: ForEachPosition; +} + export class SwiftTargetLanguage extends TargetLanguage { constructor() { super("Swift", ["swift", "swift4"], "swift"); @@ -682,20 +689,21 @@ export class SwiftRenderer extends ConvenienceRenderer { ) { // Make an initializer that initalizes all fields this.ensureBlankLine(); - let properties: Sourcelike[] = []; - this.forEachClassProperty(c, "none", (name, _, p) => { - if (properties.length > 0) properties.push(", "); - properties.push(name, ": ", this.swiftPropertyType(p)); - }); + let initProperties = this.initializableProperties(c); + let propertiesLines: Sourcelike[] = []; + for (let property of initProperties) { + if (propertiesLines.length > 0) propertiesLines.push(", "); + propertiesLines.push(property.name, ": ", this.swiftPropertyType(property.parameter)); + } if (this.propertyCount(c) === 0 && this._options.objcSupport) { this.emitBlockWithAccess(["override init()"], () => { ""; }); } else { - this.emitBlockWithAccess(["init(", ...properties, ")"], () => { - this.forEachClassProperty(c, "none", name => { - this.emitLine("self.", name, " = ", name); - }); + this.emitBlockWithAccess(["init(", ...propertiesLines, ")"], () => { + for (let property of initProperties) { + this.emitLine("self.", property.name, " = ", property.name); + } }); } } @@ -728,6 +736,15 @@ export class SwiftRenderer extends ConvenienceRenderer { this.finishFile(); } + protected initializableProperties(c: ClassType): SwiftProperty[] { + const properties: SwiftProperty[] = []; + this.forEachClassProperty(c, "none", (name, jsonName, parameter, position) => { + const property = { name, jsonName, parameter, position }; + properties.push(property); + }); + return properties; + } + private emitNewEncoderDecoder(): void { this.emitBlock("func newJSONDecoder() -> JSONDecoder", () => { this.emitLine("let decoder = JSONDecoder()"); From b668760bd322e0f05d310b9af8cc92553a73459e Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 10:59:49 -0400 Subject: [PATCH 17/37] Fix the header renderer --- src/quicktype-core/language/Swift.ts | 76 +++++++++++++--------------- 1 file changed, 35 insertions(+), 41 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index ef13f7adb6..1588ecc9f5 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -428,59 +428,53 @@ export class SwiftRenderer extends ConvenienceRenderer { return null; } - private renderHeader(): void { + private renderHeader(type: Type, name: Name): void { if (this.leadingComments !== undefined) { this.emitCommentLines(this.leadingComments); } else if (!this._options.justTypes) { this.emitLine("// To parse the JSON, add this file to your project and do:"); this.emitLine("//"); - this.forEachTopLevel("none", (t, name) => { - if (this._options.convenienceInitializers && !(t instanceof EnumType)) { - this.emitLine("// let ", modifySource(camelCase, name), " = try ", name, "(json)"); - } else { - this.emitLine( - "// let ", - modifySource(camelCase, name), - " = ", - "try? newJSONDecoder().decode(", - name, - ".self, from: jsonData)" - ); - } - }); + if (this._options.convenienceInitializers && !(type instanceof EnumType)) { + this.emitLine("// let ", modifySource(camelCase, name), " = try ", name, "(json)"); + } else { + this.emitLine( + "// let ", + modifySource(camelCase, name), + " = ", + "try? newJSONDecoder().decode(", + name, + ".self, from: jsonData)" + ); + } if (this._options.urlSession) { this.emitLine("//"); this.emitLine("// To read values from URLs:"); - this.forEachTopLevel("none", (_, name) => { - const lowerName = modifySource(camelCase, name); - this.emitLine("//"); - this.emitLine( - "// let task = URLSession.shared.", - lowerName, - "Task(with: url) { ", - lowerName, - ", response, error in" - ); - this.emitLine("// if let ", lowerName, " = ", lowerName, " {"); - this.emitLine("// ..."); - this.emitLine("// }"); - this.emitLine("// }"); - this.emitLine("// task.resume()"); - }); + const lowerName = modifySource(camelCase, name); + this.emitLine("//"); + this.emitLine( + "// let task = URLSession.shared.", + lowerName, + "Task(with: url) { ", + lowerName, + ", response, error in" + ); + this.emitLine("// if let ", lowerName, " = ", lowerName, " {"); + this.emitLine("// ..."); + this.emitLine("// }"); + this.emitLine("// }"); + this.emitLine("// task.resume()"); } if (this._options.alamofire) { this.emitLine("//"); this.emitLine("// To parse values from Alamofire responses:"); - this.forEachTopLevel("none", (_, name) => { - this.emitLine("//"); - this.emitLine("// Alamofire.request(url).response", name, " { response in"); - this.emitLine("// if let ", modifySource(camelCase, name), " = response.result.value {"); - this.emitLine("// ..."); - this.emitLine("// }"); - this.emitLine("// }"); - }); + this.emitLine("//"); + this.emitLine("// Alamofire.request(url).response", name, " { response in"); + this.emitLine("// if let ", modifySource(camelCase, name), " = response.result.value {"); + this.emitLine("// ..."); + this.emitLine("// }"); + this.emitLine("// }"); } if (this._options.protocol.hashable || this._options.protocol.equatable) { @@ -499,7 +493,7 @@ export class SwiftRenderer extends ConvenienceRenderer { this.emitLineOnce("import Foundation"); this.ensureBlankLine(); if (!this._options.justTypes && this._options.alamofire) { - this.emitLine("import Alamofire"); + this.emitLineOnce("import Alamofire"); } } @@ -598,7 +592,7 @@ export class SwiftRenderer extends ConvenienceRenderer { private renderClassDefinition(c: ClassType, className: Name): void { this.startFile(className); - this.renderHeader(); + this.renderHeader(c, className); this.emitDescription(this.descriptionForType(c)); const isClass = this._options.useClasses || this.isCycleBreakerType(c); From 2d165bef5f3c777191bf31c6f36cf5f9f13609cf Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 11:06:45 -0400 Subject: [PATCH 18/37] Put a warning in the header about the generated nature of the source files --- src/quicktype-core/language/Swift.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 1588ecc9f5..14553e96c8 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -432,6 +432,8 @@ export class SwiftRenderer extends ConvenienceRenderer { if (this.leadingComments !== undefined) { this.emitCommentLines(this.leadingComments); } else if (!this._options.justTypes) { + this.emitLine("// This file was generated from JSON Schema using quicktype, do not modify it directly."); + this.emitLine("// Generated on ", new Date().toString()); this.emitLine("// To parse the JSON, add this file to your project and do:"); this.emitLine("//"); if (this._options.convenienceInitializers && !(type instanceof EnumType)) { From cccee5bd1b4ecf56e020394e20597c62af1c2b9b Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 11:49:09 -0400 Subject: [PATCH 19/37] Replace mistaken removal of YAML --- build/quicktype-core/package.in.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/quicktype-core/package.in.json b/build/quicktype-core/package.in.json index 9cc7fac58b..9264a8c0c5 100644 --- a/build/quicktype-core/package.in.json +++ b/build/quicktype-core/package.in.json @@ -20,13 +20,15 @@ "pluralize": "^7.0.0", "@mark.probst/unicode-properties": "~1.1.0", "urijs": "^1.19.1", - "wordwrap": "^1.0.0" + "wordwrap": "^1.0.0", + "yaml": "^1.5.0" }, "devDependencies": { "@types/js-base64": "^2.3.1", "@types/node": "^8.10.10", "@types/pako": "^1.0.0", "@types/pluralize": "0.0.28", + "@types/yaml": "^1.0.2", "typescript": "~3.2.1", "tslint": "^5.11.0" }, From 63cc340dc09babc754f655e7b7bbe042d06b7f11 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 11:56:37 -0400 Subject: [PATCH 20/37] Add a clarifying comment --- src/quicktype-core/Renderer.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/quicktype-core/Renderer.ts b/src/quicktype-core/Renderer.ts index 7840f09aac..7a2255b4d5 100644 --- a/src/quicktype-core/Renderer.ts +++ b/src/quicktype-core/Renderer.ts @@ -303,6 +303,8 @@ export abstract class Renderer { assert(!this._finishedFiles.has(filename), `Tried to emit file ${filename} more than once`); const source = sourcelikeToSource(this._emitContext.source); this._finishedFiles.set(filename, source); + + // [Michael Fey (@MrRooni), 2019-5-9] We save the current EmitContext for possible reuse later. We put it into the map with a lowercased version of the key so we can do a case-insensitive lookup later. The reason we lowercase it is because some schema (looking at you keyword-unions.schema) define objects of the sme name with different casing. BOOL vs. bool, for example. this._finishedEmitContexts.set(filename.toLowerCase().toString(), this._emitContext); this._emitContext = new EmitContext(); } From c2a78d2d835e07ef7f418b1b74915ec8994258af Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 11:58:37 -0400 Subject: [PATCH 21/37] No need to toString() toLowerCase() --- src/quicktype-core/Renderer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/quicktype-core/Renderer.ts b/src/quicktype-core/Renderer.ts index 7a2255b4d5..cdd7076754 100644 --- a/src/quicktype-core/Renderer.ts +++ b/src/quicktype-core/Renderer.ts @@ -292,7 +292,7 @@ export abstract class Renderer { protected initializeEmitContextForFilename(filename: string): void { if (this._finishedEmitContexts.has(filename.toLowerCase().toString())) { - const existingEmitContext = this._finishedEmitContexts.get(filename.toLowerCase().toString()); + const existingEmitContext = this._finishedEmitContexts.get(filename.toLowerCase()); if (existingEmitContext !== undefined) { this._emitContext = existingEmitContext; } @@ -305,7 +305,7 @@ export abstract class Renderer { this._finishedFiles.set(filename, source); // [Michael Fey (@MrRooni), 2019-5-9] We save the current EmitContext for possible reuse later. We put it into the map with a lowercased version of the key so we can do a case-insensitive lookup later. The reason we lowercase it is because some schema (looking at you keyword-unions.schema) define objects of the sme name with different casing. BOOL vs. bool, for example. - this._finishedEmitContexts.set(filename.toLowerCase().toString(), this._emitContext); + this._finishedEmitContexts.set(filename.toLowerCase(), this._emitContext); this._emitContext = new EmitContext(); } From aaf3294bb93920fe10389c1c3128fa8fa7a0db70 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 19:39:15 -0400 Subject: [PATCH 22/37] Add an option for Swift 5 support --- src/quicktype-core/language/Swift.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 14553e96c8..3ea808b312 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -60,6 +60,7 @@ export const swiftOptions = { "Objects inherit from NSObject and @objcMembers is added to classes", false ), + swift5Support: new BooleanOption("swift-5-support", "Renders output in a Swift 5 compatible mode", false), accessLevel: new EnumOption( "access-level", "Access level", @@ -124,7 +125,8 @@ export class SwiftTargetLanguage extends TargetLanguage { swiftOptions.namedTypePrefix, swiftOptions.protocol, swiftOptions.acronymStyle, - swiftOptions.objcSupport + swiftOptions.objcSupport, + swiftOptions.swift5Support ]; } @@ -1052,11 +1054,14 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); this.ensureBlankLine(); this.emitMultiline(` public var hashValue: Int { return 0 - } + }`); - public func hash(into hasher: inout Hasher) { + if (this._options.swift5Support) { + this.ensureBlankLine(); + this.emitMultiline(` public func hash(into hasher: inout Hasher) { // No-op }`); + } } this.ensureBlankLine(); From 74b481025ea1bc6f2905bacb0bd2776d4b877e36 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 20:19:04 -0400 Subject: [PATCH 23/37] Fix a spelling mistake in a comment --- src/quicktype-core/Renderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quicktype-core/Renderer.ts b/src/quicktype-core/Renderer.ts index cdd7076754..94ed4fe1ef 100644 --- a/src/quicktype-core/Renderer.ts +++ b/src/quicktype-core/Renderer.ts @@ -304,7 +304,7 @@ export abstract class Renderer { const source = sourcelikeToSource(this._emitContext.source); this._finishedFiles.set(filename, source); - // [Michael Fey (@MrRooni), 2019-5-9] We save the current EmitContext for possible reuse later. We put it into the map with a lowercased version of the key so we can do a case-insensitive lookup later. The reason we lowercase it is because some schema (looking at you keyword-unions.schema) define objects of the sme name with different casing. BOOL vs. bool, for example. + // [Michael Fey (@MrRooni), 2019-5-9] We save the current EmitContext for possible reuse later. We put it into the map with a lowercased version of the key so we can do a case-insensitive lookup later. The reason we lowercase it is because some schema (looking at you keyword-unions.schema) define objects of the same name with different casing. BOOL vs. bool, for example. this._finishedEmitContexts.set(filename.toLowerCase(), this._emitContext); this._emitContext = new EmitContext(); } From b85ae5239ff4efe89b25234129fb75726986a44b Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 20:40:17 -0400 Subject: [PATCH 24/37] Emit a single Swift file by default --- src/quicktype-core/language/Swift.ts | 36 ++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 3ea808b312..5bfe4ef1f2 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -61,6 +61,11 @@ export const swiftOptions = { false ), swift5Support: new BooleanOption("swift-5-support", "Renders output in a Swift 5 compatible mode", false), + multiFileOutput: new BooleanOption( + "multi-file-output", + "Renders each top-level object in its own Swift file", + false + ), accessLevel: new EnumOption( "access-level", "Access level", @@ -126,7 +131,8 @@ export class SwiftTargetLanguage extends TargetLanguage { swiftOptions.protocol, swiftOptions.acronymStyle, swiftOptions.objcSupport, - swiftOptions.swift5Support + swiftOptions.swift5Support, + swiftOptions.multiFileOutput ]; } @@ -434,8 +440,10 @@ export class SwiftRenderer extends ConvenienceRenderer { if (this.leadingComments !== undefined) { this.emitCommentLines(this.leadingComments); } else if (!this._options.justTypes) { - this.emitLine("// This file was generated from JSON Schema using quicktype, do not modify it directly."); - this.emitLine("// Generated on ", new Date().toString()); + this.emitLineOnce( + "// This file was generated from JSON Schema using quicktype, do not modify it directly." + ); + this.emitLineOnce("// Generated on ", new Date().toString()); this.emitLine("// To parse the JSON, add this file to your project and do:"); this.emitLine("//"); if (this._options.convenienceInitializers && !(type instanceof EnumType)) { @@ -581,15 +589,23 @@ export class SwiftRenderer extends ConvenienceRenderer { /// startFile takes a file name, appends ".swift" to it and sets it as the current filename. protected startFile(basename: Sourcelike): void { + if (this._options.multiFileOutput === false) { + return; + } + assert(this._currentFilename === undefined, "Previous file wasn't finished: " + this._currentFilename); // FIXME: The filenames should actually be Sourcelikes, too this._currentFilename = `${this.sourcelikeToString(basename)}.swift`; this.initializeEmitContextForFilename(this._currentFilename); } - /// finishFile pushes the current file name onto the collection of finished files and then resets the current file name. These finished files are used in index.ts to write the output. - protected finishFile(): void { - super.finishFile(defined(this._currentFilename)); + /// endFile pushes the current file name onto the collection of finished files and then resets the current file name. These finished files are used in index.ts to write the output. + protected endFile(): void { + if (this._options.multiFileOutput === false) { + return; + } + + this.finishFile(defined(this._currentFilename)); this._currentFilename = undefined; } @@ -731,7 +747,7 @@ export class SwiftRenderer extends ConvenienceRenderer { this.emitAlamofireExtension(className); } - this.finishFile(); + this.endFile(); } protected initializableProperties(c: ClassType): SwiftProperty[] { @@ -883,7 +899,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); }); } - this.finishFile(); + this.endFile(); } private renderUnionDefinition(u: UnionType, unionName: Name): void { @@ -953,7 +969,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); }); } }); - this.finishFile(); + this.endFile(); } private emitTopLevelMapAndArrayConvenienceInitializerExtensions(t: Type, name: Name): void { @@ -1308,7 +1324,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); }`); } - this.finishFile(); + this.endFile(); }; private emitConvenienceMutator(c: ClassType, className: Name) { From 24a2c71cf52466796283d700da517302d56cd799 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 21:10:41 -0400 Subject: [PATCH 25/37] =?UTF-8?q?Revert=20"Get=20rid=20of=20a=20file=20we?= =?UTF-8?q?=20don=E2=80=99t=20need=20anymore"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 2e965c6743b39cecf880f804bce5bb5a5699e244. --- test/fixtures/swift/quicktype.swift | 6386 +++++++++++++++++++++++++++ 1 file changed, 6386 insertions(+) create mode 100644 test/fixtures/swift/quicktype.swift diff --git a/test/fixtures/swift/quicktype.swift b/test/fixtures/swift/quicktype.swift new file mode 100644 index 0000000000..adfca646df --- /dev/null +++ b/test/fixtures/swift/quicktype.swift @@ -0,0 +1,6386 @@ +// To parse the JSON, add this file to your project and do: +// +// guard let topLevel = try TopLevel(json) else { ... } + +import Foundation + +class TopLevel: Codable { + let abranchiata: [Abranchiata] + let academe: [Academe] + let acquirable: [Acquirable] + let aerometry: [Aerometry] + let alexin: [Alexin] + let alleviate: [Alleviate] + let amaas: [Amaa] + let ambassage: [Ambassage] + let amphithyron: [Amphithyron?] + let andriana: [String?] + let ankee: [Ankee] + let annihilator: [[String: Int?]?] + let annulose: JSONNull? + let ansarie: [Ansarie] + let aphasia: [Aphasia] + let asprawl: [Asprawl] + let attractive: [Bool?] + let barksome: [String: Int] + let bedesman: [Bedesman] + let belard: [Belard] + let bocking: [Bocking] + let brawlingly: [Brawlingly] + let brookie: [Brookie] + let bumboatman: [Bumboatman] + let bystreet: [JSONNull?] + let calaverite: [Calaverite] + let catallactic: [Catallactic] + let cemental: [Cemental] + let centrodesmose: String + let cerograph: [Cerograph] + let chemotherapeutics: [ChemotherapeuticUnion] + let chytridiaceae: [Chytridiaceae] + let cimelia: [Cimelia] + let citrated: Int + let clinodome: [Asprawl] + let coadjust: [CoadjustUnion] + let consilience: [Consilience] + let constructor: [Constructor] + let continuative: [Continuative] + let credulity: [Credulity] + let creviced: [Creviced] + let cubiculum: [[Int?]] + let deruralize: [Deruralize] + let diaereses: [Diaerese] + let discordia: [DiscordiaUnion] + let dissolution: [[JSONNull?]?] + let downstroke: [Downstroke] + let electrotautomerism: [Double?] + let eleutheromania: [Eleutheromania] + let encrust: [String: JSONNull?] + let endomyces: [Endomyce] + let entomoid: [Entomoid] + let epinephelidae: [Epinephelidae] + let epipaleolithic: [Epipaleolithic] + let eupatorium: [Eupatorium] + let expropriable: [Expropriable] + let faggingly: [Faggingly] + let fenks: [Fenk] + let flagmaking: [Flagmaking] + let fluorometer: [Fluorometer] + let fulsome: [Int?] + let fuzzy: [Fuzzy] + let gardenwards: [Gardenward] + let generalissimo: [Generalissimo] + let gryphosaurus: [Gryphosaurus] + let habeas: [[String: Int]?] + let hemicrystalline: [Hemicrystalline] + let hemocoele: [HemocoeleUnion] + let hoister: [Hoister] + let hyperpiesis: [Hyperpiesi] + let hyppish: [Hyppish] + let idealizer: [Idealizer] + let incrustator: [Incrustator] + let intentiveness: [Intentiveness] + let interacinar: Interacinar + let intercorrelation: [[Int]?] + let jacutinga: [Jacutinga] + let juror: [Juror] + let kongoni: [Kongoni] + let koryak: [Koryak] + let ladronism: [Ladronism] + let landlubberly: [Landlubberly] + let lavinia: [LaviniaUnion] + let listener: [Listener] + let lupus: [LupusUnion] + let maslin: [Maslin] + let monazite: [Monazite] + let monoliteral: [Monoliteral] + let monotheistically: [MonotheisticallyUnion] + let montage: [Montage] + let moralness: [Moralness] + let mowra: [RebeccaClass?] + let mulishly: [Mulishly] + let myoscope: [Myoscope] + let nach: [[Int?]?] + let neuromastic: [Neuromastic] + let noncontributing: [Noncontributing] + let nonnervous: [Nonnervous] + let nonvaluation: [Nonvaluation] + let occupationalist: [Occupationalist] + let oskar: [Oskar] + let outrival: [Outrival] + let paleographically: [Paleographically] + let pamphletwise: [Pamphletwise] + let pediatrics: [Pediatric] + let perceptive: [Bool] + let piaculum: [PiaculumUnion] + let piccadilly: [Piccadilly] + let piffler: [Piffler] + let pithful: [Pithful] + let placuntitis: [Placuntiti] + let plectopterous: [Consilience] + let pneumocele: [Pneumocele?] + let poliorcetic: [Poliorcetic] + let poormaster: [Poormaster] + let potwhisky: [Potwhisky] + let practicalizer: [Practicalizer] + let prefreshman: [Prefreshman] + let prehensility: [Prehensility] + let prevoidance: [Prevoidance] + let probant: [[String: Int?]] + let protext: [Protext] + let protrusive: [Protrusive] + let pulpitism: [Pulpitism] + let pyodermia: [Pyodermia] + let quebrachine: [Quebrachine] + let querier: [Querier] + let rebarbative: [Rebarbative] + let rebecca: [RebeccaUnion] + let reimagine: [Reimagine] + let ressaut: [String: String] + let retrocervical: [Retrocervical] + let revert: [Revert] + let rewrite: [Rewrite] + let rhomboganoidei: [Rhomboganoidei] + let rigsmal: Bool + let ruellia: [Ruellia] + let saccoderm: [Saccoderm] + let santir: [Faggingly] + let saprophilous: [Saprophilous] + let saxten: [SaxtenUnion] + let scatty: [[String: JSONNull?]?] + let school: [School] + let scoffer: [Scoffer] + let scrampum: [Scrampum] + let semantic: Double + let serpentinic: [Epipaleolithic] + let shadowable: [Shadowable] + let shakespearolater: [Shakespearolater] + let sistering: [Sistering] + let staghunting: [Staghunting] + let stagmometer: [Stagmometer] + let stimulability: [Stimulability] + let strangleable: [Neuromastic] + let strenuosity: [StrenuosityUnion] + let svan: [Double] + let tabaxir: [Aerometry] + let talpiform: [Talpiform] + let thwack: [Thwack] + let to: [Double?] + let tortricine: [Tortricine] + let truantcy: [TruantcyUnion] + let turgesce: [String] + let unbeginning: [Unbeginning] + let underdunged: [Double] + let undesirability: [Undesirability] + let unerasing: [Unerasing] + let unguentarium: [Unguentarium] + let unimpeachably: [UnimpeachablyUnion] + let unmortgaged: [Unmortgaged] + let unobstructed: [Unobstructed] + let unreceptivity: [Unreceptivity] + let unsatisfactoriness: [Unsatisfactoriness] + let unsecurity: [Int] + let unstressed: [Unstressed] + let untasked: [Untasked] + let unvarying: [Unvarying] + let vehemently: [Vehemently] + let warriorship: [String: Bool] + let wayao: [String: Double] + let whitepot: [Monazite] + let wrothy: [Wrothy] + + enum CodingKeys: String, CodingKey { + case abranchiata = "Abranchiata" + case academe, acquirable, aerometry, alexin, alleviate, amaas, ambassage, amphithyron + case andriana = "Andriana" + case ankee, annihilator, annulose + case ansarie = "Ansarie" + case aphasia, asprawl, attractive, barksome, bedesman, belard, bocking, brawlingly, brookie, bumboatman, bystreet, calaverite, catallactic, cemental, centrodesmose, cerograph, chemotherapeutics + case chytridiaceae = "Chytridiaceae" + case cimelia, citrated, clinodome, coadjust, consilience, constructor, continuative, credulity, creviced, cubiculum, deruralize, diaereses + case discordia = "Discordia" + case dissolution, downstroke, electrotautomerism, eleutheromania, encrust + case endomyces = "Endomyces" + case entomoid + case epinephelidae = "Epinephelidae" + case epipaleolithic + case eupatorium = "Eupatorium" + case expropriable, faggingly, fenks, flagmaking, fluorometer, fulsome, fuzzy, gardenwards, generalissimo + case gryphosaurus = "Gryphosaurus" + case habeas, hemicrystalline, hemocoele, hoister, hyperpiesis, hyppish, idealizer, incrustator, intentiveness, interacinar, intercorrelation, jacutinga, juror, kongoni + case koryak = "Koryak" + case ladronism, landlubberly + case lavinia = "Lavinia" + case listener, lupus, maslin, monazite, monoliteral, monotheistically, montage, moralness, mowra, mulishly, myoscope, nach, neuromastic, noncontributing, nonnervous, nonvaluation, occupationalist + case oskar = "Oskar" + case outrival, paleographically, pamphletwise, pediatrics, perceptive, piaculum, piccadilly, piffler, pithful, placuntitis, plectopterous, pneumocele, poliorcetic, poormaster, potwhisky, practicalizer, prefreshman, prehensility, prevoidance, probant, protext, protrusive, pulpitism, pyodermia, quebrachine, querier, rebarbative + case rebecca = "Rebecca" + case reimagine, ressaut, retrocervical, revert, rewrite + case rhomboganoidei = "Rhomboganoidei" + case rigsmal = "Rigsmal" + case ruellia = "Ruellia" + case saccoderm, santir, saprophilous, saxten, scatty + case school = "School" + case scoffer, scrampum, semantic, serpentinic, shadowable + case shakespearolater = "Shakespearolater" + case sistering, staghunting, stagmometer, stimulability, strangleable, strenuosity + case svan = "Svan" + case tabaxir, talpiform, thwack, to, tortricine, truantcy, turgesce, unbeginning, underdunged, undesirability, unerasing, unguentarium, unimpeachably, unmortgaged, unobstructed, unreceptivity, unsatisfactoriness, unsecurity, unstressed, untasked, unvarying, vehemently, warriorship + case wayao = "Wayao" + case whitepot, wrothy + } + + init(abranchiata: [Abranchiata], academe: [Academe], acquirable: [Acquirable], aerometry: [Aerometry], alexin: [Alexin], alleviate: [Alleviate], amaas: [Amaa], ambassage: [Ambassage], amphithyron: [Amphithyron?], andriana: [String?], ankee: [Ankee], annihilator: [[String: Int?]?], annulose: JSONNull?, ansarie: [Ansarie], aphasia: [Aphasia], asprawl: [Asprawl], attractive: [Bool?], barksome: [String: Int], bedesman: [Bedesman], belard: [Belard], bocking: [Bocking], brawlingly: [Brawlingly], brookie: [Brookie], bumboatman: [Bumboatman], bystreet: [JSONNull?], calaverite: [Calaverite], catallactic: [Catallactic], cemental: [Cemental], centrodesmose: String, cerograph: [Cerograph], chemotherapeutics: [ChemotherapeuticUnion], chytridiaceae: [Chytridiaceae], cimelia: [Cimelia], citrated: Int, clinodome: [Asprawl], coadjust: [CoadjustUnion], consilience: [Consilience], constructor: [Constructor], continuative: [Continuative], credulity: [Credulity], creviced: [Creviced], cubiculum: [[Int?]], deruralize: [Deruralize], diaereses: [Diaerese], discordia: [DiscordiaUnion], dissolution: [[JSONNull?]?], downstroke: [Downstroke], electrotautomerism: [Double?], eleutheromania: [Eleutheromania], encrust: [String: JSONNull?], endomyces: [Endomyce], entomoid: [Entomoid], epinephelidae: [Epinephelidae], epipaleolithic: [Epipaleolithic], eupatorium: [Eupatorium], expropriable: [Expropriable], faggingly: [Faggingly], fenks: [Fenk], flagmaking: [Flagmaking], fluorometer: [Fluorometer], fulsome: [Int?], fuzzy: [Fuzzy], gardenwards: [Gardenward], generalissimo: [Generalissimo], gryphosaurus: [Gryphosaurus], habeas: [[String: Int]?], hemicrystalline: [Hemicrystalline], hemocoele: [HemocoeleUnion], hoister: [Hoister], hyperpiesis: [Hyperpiesi], hyppish: [Hyppish], idealizer: [Idealizer], incrustator: [Incrustator], intentiveness: [Intentiveness], interacinar: Interacinar, intercorrelation: [[Int]?], jacutinga: [Jacutinga], juror: [Juror], kongoni: [Kongoni], koryak: [Koryak], ladronism: [Ladronism], landlubberly: [Landlubberly], lavinia: [LaviniaUnion], listener: [Listener], lupus: [LupusUnion], maslin: [Maslin], monazite: [Monazite], monoliteral: [Monoliteral], monotheistically: [MonotheisticallyUnion], montage: [Montage], moralness: [Moralness], mowra: [RebeccaClass?], mulishly: [Mulishly], myoscope: [Myoscope], nach: [[Int?]?], neuromastic: [Neuromastic], noncontributing: [Noncontributing], nonnervous: [Nonnervous], nonvaluation: [Nonvaluation], occupationalist: [Occupationalist], oskar: [Oskar], outrival: [Outrival], paleographically: [Paleographically], pamphletwise: [Pamphletwise], pediatrics: [Pediatric], perceptive: [Bool], piaculum: [PiaculumUnion], piccadilly: [Piccadilly], piffler: [Piffler], pithful: [Pithful], placuntitis: [Placuntiti], plectopterous: [Consilience], pneumocele: [Pneumocele?], poliorcetic: [Poliorcetic], poormaster: [Poormaster], potwhisky: [Potwhisky], practicalizer: [Practicalizer], prefreshman: [Prefreshman], prehensility: [Prehensility], prevoidance: [Prevoidance], probant: [[String: Int?]], protext: [Protext], protrusive: [Protrusive], pulpitism: [Pulpitism], pyodermia: [Pyodermia], quebrachine: [Quebrachine], querier: [Querier], rebarbative: [Rebarbative], rebecca: [RebeccaUnion], reimagine: [Reimagine], ressaut: [String: String], retrocervical: [Retrocervical], revert: [Revert], rewrite: [Rewrite], rhomboganoidei: [Rhomboganoidei], rigsmal: Bool, ruellia: [Ruellia], saccoderm: [Saccoderm], santir: [Faggingly], saprophilous: [Saprophilous], saxten: [SaxtenUnion], scatty: [[String: JSONNull?]?], school: [School], scoffer: [Scoffer], scrampum: [Scrampum], semantic: Double, serpentinic: [Epipaleolithic], shadowable: [Shadowable], shakespearolater: [Shakespearolater], sistering: [Sistering], staghunting: [Staghunting], stagmometer: [Stagmometer], stimulability: [Stimulability], strangleable: [Neuromastic], strenuosity: [StrenuosityUnion], svan: [Double], tabaxir: [Aerometry], talpiform: [Talpiform], thwack: [Thwack], to: [Double?], tortricine: [Tortricine], truantcy: [TruantcyUnion], turgesce: [String], unbeginning: [Unbeginning], underdunged: [Double], undesirability: [Undesirability], unerasing: [Unerasing], unguentarium: [Unguentarium], unimpeachably: [UnimpeachablyUnion], unmortgaged: [Unmortgaged], unobstructed: [Unobstructed], unreceptivity: [Unreceptivity], unsatisfactoriness: [Unsatisfactoriness], unsecurity: [Int], unstressed: [Unstressed], untasked: [Untasked], unvarying: [Unvarying], vehemently: [Vehemently], warriorship: [String: Bool], wayao: [String: Double], whitepot: [Monazite], wrothy: [Wrothy]) { + self.abranchiata = abranchiata + self.academe = academe + self.acquirable = acquirable + self.aerometry = aerometry + self.alexin = alexin + self.alleviate = alleviate + self.amaas = amaas + self.ambassage = ambassage + self.amphithyron = amphithyron + self.andriana = andriana + self.ankee = ankee + self.annihilator = annihilator + self.annulose = annulose + self.ansarie = ansarie + self.aphasia = aphasia + self.asprawl = asprawl + self.attractive = attractive + self.barksome = barksome + self.bedesman = bedesman + self.belard = belard + self.bocking = bocking + self.brawlingly = brawlingly + self.brookie = brookie + self.bumboatman = bumboatman + self.bystreet = bystreet + self.calaverite = calaverite + self.catallactic = catallactic + self.cemental = cemental + self.centrodesmose = centrodesmose + self.cerograph = cerograph + self.chemotherapeutics = chemotherapeutics + self.chytridiaceae = chytridiaceae + self.cimelia = cimelia + self.citrated = citrated + self.clinodome = clinodome + self.coadjust = coadjust + self.consilience = consilience + self.constructor = constructor + self.continuative = continuative + self.credulity = credulity + self.creviced = creviced + self.cubiculum = cubiculum + self.deruralize = deruralize + self.diaereses = diaereses + self.discordia = discordia + self.dissolution = dissolution + self.downstroke = downstroke + self.electrotautomerism = electrotautomerism + self.eleutheromania = eleutheromania + self.encrust = encrust + self.endomyces = endomyces + self.entomoid = entomoid + self.epinephelidae = epinephelidae + self.epipaleolithic = epipaleolithic + self.eupatorium = eupatorium + self.expropriable = expropriable + self.faggingly = faggingly + self.fenks = fenks + self.flagmaking = flagmaking + self.fluorometer = fluorometer + self.fulsome = fulsome + self.fuzzy = fuzzy + self.gardenwards = gardenwards + self.generalissimo = generalissimo + self.gryphosaurus = gryphosaurus + self.habeas = habeas + self.hemicrystalline = hemicrystalline + self.hemocoele = hemocoele + self.hoister = hoister + self.hyperpiesis = hyperpiesis + self.hyppish = hyppish + self.idealizer = idealizer + self.incrustator = incrustator + self.intentiveness = intentiveness + self.interacinar = interacinar + self.intercorrelation = intercorrelation + self.jacutinga = jacutinga + self.juror = juror + self.kongoni = kongoni + self.koryak = koryak + self.ladronism = ladronism + self.landlubberly = landlubberly + self.lavinia = lavinia + self.listener = listener + self.lupus = lupus + self.maslin = maslin + self.monazite = monazite + self.monoliteral = monoliteral + self.monotheistically = monotheistically + self.montage = montage + self.moralness = moralness + self.mowra = mowra + self.mulishly = mulishly + self.myoscope = myoscope + self.nach = nach + self.neuromastic = neuromastic + self.noncontributing = noncontributing + self.nonnervous = nonnervous + self.nonvaluation = nonvaluation + self.occupationalist = occupationalist + self.oskar = oskar + self.outrival = outrival + self.paleographically = paleographically + self.pamphletwise = pamphletwise + self.pediatrics = pediatrics + self.perceptive = perceptive + self.piaculum = piaculum + self.piccadilly = piccadilly + self.piffler = piffler + self.pithful = pithful + self.placuntitis = placuntitis + self.plectopterous = plectopterous + self.pneumocele = pneumocele + self.poliorcetic = poliorcetic + self.poormaster = poormaster + self.potwhisky = potwhisky + self.practicalizer = practicalizer + self.prefreshman = prefreshman + self.prehensility = prehensility + self.prevoidance = prevoidance + self.probant = probant + self.protext = protext + self.protrusive = protrusive + self.pulpitism = pulpitism + self.pyodermia = pyodermia + self.quebrachine = quebrachine + self.querier = querier + self.rebarbative = rebarbative + self.rebecca = rebecca + self.reimagine = reimagine + self.ressaut = ressaut + self.retrocervical = retrocervical + self.revert = revert + self.rewrite = rewrite + self.rhomboganoidei = rhomboganoidei + self.rigsmal = rigsmal + self.ruellia = ruellia + self.saccoderm = saccoderm + self.santir = santir + self.saprophilous = saprophilous + self.saxten = saxten + self.scatty = scatty + self.school = school + self.scoffer = scoffer + self.scrampum = scrampum + self.semantic = semantic + self.serpentinic = serpentinic + self.shadowable = shadowable + self.shakespearolater = shakespearolater + self.sistering = sistering + self.staghunting = staghunting + self.stagmometer = stagmometer + self.stimulability = stimulability + self.strangleable = strangleable + self.strenuosity = strenuosity + self.svan = svan + self.tabaxir = tabaxir + self.talpiform = talpiform + self.thwack = thwack + self.to = to + self.tortricine = tortricine + self.truantcy = truantcy + self.turgesce = turgesce + self.unbeginning = unbeginning + self.underdunged = underdunged + self.undesirability = undesirability + self.unerasing = unerasing + self.unguentarium = unguentarium + self.unimpeachably = unimpeachably + self.unmortgaged = unmortgaged + self.unobstructed = unobstructed + self.unreceptivity = unreceptivity + self.unsatisfactoriness = unsatisfactoriness + self.unsecurity = unsecurity + self.unstressed = unstressed + self.untasked = untasked + self.unvarying = unvarying + self.vehemently = vehemently + self.warriorship = warriorship + self.wayao = wayao + self.whitepot = whitepot + self.wrothy = wrothy + } +} + +enum Abranchiata: Codable { + case integer(Int) + case integerArray([Int]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Abranchiata.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Abranchiata")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Academe: Codable { + case integer(Int) + case integerArray([Int]) + case integerMap([String: Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Academe.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Academe")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + } + } +} + +enum Acquirable: Codable { + case integerMap([String: Int]) + case unionArray([Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([Int?].self) { + self = .unionArray(x) + return + } + throw DecodingError.typeMismatch(Acquirable.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Acquirable")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerMap(let x): + try container.encode(x) + case .unionArray(let x): + try container.encode(x) + } + } +} + +enum Aerometry: Codable { + case bool(Bool) + case double(Double) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + throw DecodingError.typeMismatch(Aerometry.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Aerometry")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .double(let x): + try container.encode(x) + } + } +} + +enum Alexin: Codable { + case bool(Bool) + case integerArray([Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Alexin.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Alexin")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + } + } +} + +enum Alleviate: Codable { + case nullMap([String: JSONNull?]) + case unionArray([Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([Int?].self) { + self = .unionArray(x) + return + } + throw DecodingError.typeMismatch(Alleviate.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Alleviate")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullMap(let x): + try container.encode(x) + case .unionArray(let x): + try container.encode(x) + } + } +} + +enum Amaa: Codable { + case bool(Bool) + case integer(Int) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + throw DecodingError.typeMismatch(Amaa.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Amaa")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integer(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +class RebeccaClass: Codable { + let catharticalness: Double + let chirotherium: Int + let disdiapason: String + let homocerc: Bool + let nonbookish: JSONNull? + + enum CodingKeys: String, CodingKey { + case catharticalness + case chirotherium = "Chirotherium" + case disdiapason, homocerc, nonbookish + } + + init(catharticalness: Double, chirotherium: Int, disdiapason: String, homocerc: Bool, nonbookish: JSONNull?) { + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.disdiapason = disdiapason + self.homocerc = homocerc + self.nonbookish = nonbookish + } +} + +enum Ambassage: Codable { + case nullArray([JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Ambassage.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Ambassage")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +class Amphithyron: Codable { + let akroasis, antiphonical, basebred: Int? + let catharticalness: Double? + let chirotherium, conductometric: Int? + let disdiapason: String? + let ensilation, eyebolt, fistulated, heteropod: Int? + let homocerc: Bool? + let juniperus, labyrinthically, martyrization, mispolicy: Int? + let multipara, nazirite: Int? + let nonbookish: JSONNull? + let possessorial, shamed, shelfworn, stagnum: Int? + let those, undecimal: Int? + + enum CodingKeys: String, CodingKey { + case akroasis, antiphonical, basebred, catharticalness + case chirotherium = "Chirotherium" + case conductometric, disdiapason, ensilation, eyebolt, fistulated, heteropod, homocerc + case juniperus = "Juniperus" + case labyrinthically, martyrization, mispolicy, multipara + case nazirite = "Nazirite" + case nonbookish, possessorial, shamed, shelfworn, stagnum + case those = "Those" + case undecimal + } + + init(akroasis: Int?, antiphonical: Int?, basebred: Int?, catharticalness: Double?, chirotherium: Int?, conductometric: Int?, disdiapason: String?, ensilation: Int?, eyebolt: Int?, fistulated: Int?, heteropod: Int?, homocerc: Bool?, juniperus: Int?, labyrinthically: Int?, martyrization: Int?, mispolicy: Int?, multipara: Int?, nazirite: Int?, nonbookish: JSONNull?, possessorial: Int?, shamed: Int?, shelfworn: Int?, stagnum: Int?, those: Int?, undecimal: Int?) { + self.akroasis = akroasis + self.antiphonical = antiphonical + self.basebred = basebred + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.conductometric = conductometric + self.disdiapason = disdiapason + self.ensilation = ensilation + self.eyebolt = eyebolt + self.fistulated = fistulated + self.heteropod = heteropod + self.homocerc = homocerc + self.juniperus = juniperus + self.labyrinthically = labyrinthically + self.martyrization = martyrization + self.mispolicy = mispolicy + self.multipara = multipara + self.nazirite = nazirite + self.nonbookish = nonbookish + self.possessorial = possessorial + self.shamed = shamed + self.shelfworn = shelfworn + self.stagnum = stagnum + self.those = those + self.undecimal = undecimal + } +} + +enum Ankee: Codable { + case integer(Int) + case integerArray([Int]) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Ankee.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Ankee")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum Ansarie: Codable { + case integerArray([Int]) + case nullMap([String: JSONNull?]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Ansarie.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Ansarie")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Aphasia: Codable { + case integer(Int) + case integerArray([Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Aphasia.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Aphasia")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + } + } +} + +enum Asprawl: Codable { + case double(Double) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + throw DecodingError.typeMismatch(Asprawl.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Asprawl")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Bedesman: Codable { + case bool(Bool) + case double(Double) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + throw DecodingError.typeMismatch(Bedesman.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Bedesman")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .double(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Belard: Codable { + case double(Double) + case integerArray([Int]) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Belard.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Belard")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Bocking: Codable { + case bool(Bool) + case integerArray([Int]) + case integerMap([String: Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Bocking.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Bocking")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + } + } +} + +enum Brawlingly: Codable { + case nullArray([JSONNull?]) + case unionMap([String: Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: Int?].self) { + self = .unionMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Brawlingly.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Brawlingly")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullArray(let x): + try container.encode(x) + case .unionMap(let x): + try container.encode(x) + } + } +} + +enum Brookie: Codable { + case integerArray([Int]) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Brookie.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Brookie")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Bumboatman: Codable { + case nullArray([JSONNull?]) + case string(String) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Bumboatman.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Bumboatman")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Calaverite: Codable { + case integerArray([Int]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Calaverite.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Calaverite")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Catallactic: Codable { + case bool(Bool) + case integerMap([String: Int]) + case nullArray([JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Catallactic.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Catallactic")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + } + } +} + +enum Cemental: Codable { + case double(Double) + case integerArray([Int]) + case integerMap([String: Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Cemental.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Cemental")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + } + } +} + +enum Cerograph: Codable { + case nullMap([String: JSONNull?]) + case string(String) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Cerograph.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Cerograph")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum ChemotherapeuticUnion: Codable { + case chemotherapeuticClass(ChemotherapeuticClass) + case integer(Int) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(ChemotherapeuticClass.self) { + self = .chemotherapeuticClass(x) + return + } + throw DecodingError.typeMismatch(ChemotherapeuticUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for ChemotherapeuticUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .chemotherapeuticClass(let x): + try container.encode(x) + case .integer(let x): + try container.encode(x) + } + } +} + +class ChemotherapeuticClass: Codable { + let angioneurotic, availment, bladelet: JSONNull? + let catharticalness: Double? + let caulis, chalcus: JSONNull? + let chirotherium: Int? + let disdiapason: String? + let enteradenological: JSONNull? + let homocerc: Bool? + let imporosity, insistently, intraparietal, ivied: JSONNull? + let maureen, nonbookish, nostochine, nutcracker: JSONNull? + let ofttimes, phenocryst, precoincident, ramiferous: JSONNull? + let stagmometer, tetherball, unshy: JSONNull? + + enum CodingKeys: String, CodingKey { + case angioneurotic, availment, bladelet, catharticalness, caulis, chalcus + case chirotherium = "Chirotherium" + case disdiapason, enteradenological, homocerc, imporosity, insistently, intraparietal, ivied + case maureen = "Maureen" + case nonbookish, nostochine, nutcracker, ofttimes, phenocryst, precoincident, ramiferous, stagmometer, tetherball, unshy + } + + init(angioneurotic: JSONNull?, availment: JSONNull?, bladelet: JSONNull?, catharticalness: Double?, caulis: JSONNull?, chalcus: JSONNull?, chirotherium: Int?, disdiapason: String?, enteradenological: JSONNull?, homocerc: Bool?, imporosity: JSONNull?, insistently: JSONNull?, intraparietal: JSONNull?, ivied: JSONNull?, maureen: JSONNull?, nonbookish: JSONNull?, nostochine: JSONNull?, nutcracker: JSONNull?, ofttimes: JSONNull?, phenocryst: JSONNull?, precoincident: JSONNull?, ramiferous: JSONNull?, stagmometer: JSONNull?, tetherball: JSONNull?, unshy: JSONNull?) { + self.angioneurotic = angioneurotic + self.availment = availment + self.bladelet = bladelet + self.catharticalness = catharticalness + self.caulis = caulis + self.chalcus = chalcus + self.chirotherium = chirotherium + self.disdiapason = disdiapason + self.enteradenological = enteradenological + self.homocerc = homocerc + self.imporosity = imporosity + self.insistently = insistently + self.intraparietal = intraparietal + self.ivied = ivied + self.maureen = maureen + self.nonbookish = nonbookish + self.nostochine = nostochine + self.nutcracker = nutcracker + self.ofttimes = ofttimes + self.phenocryst = phenocryst + self.precoincident = precoincident + self.ramiferous = ramiferous + self.stagmometer = stagmometer + self.tetherball = tetherball + self.unshy = unshy + } +} + +enum Chytridiaceae: Codable { + case bool(Bool) + case nullMap([String: JSONNull?]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Chytridiaceae.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Chytridiaceae")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Cimelia: Codable { + case integerArray([Int]) + case rebeccaClass(RebeccaClass) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Cimelia.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Cimelia")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum CoadjustUnion: Codable { + case coadjustClass(CoadjustClass) + case double(Double) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(CoadjustClass.self) { + self = .coadjustClass(x) + return + } + throw DecodingError.typeMismatch(CoadjustUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for CoadjustUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .coadjustClass(let x): + try container.encode(x) + case .double(let x): + try container.encode(x) + } + } +} + +class CoadjustClass: Codable { + let amidosulphonal, benny: JSONNull? + let catharticalness: Double? + let chirotherium: Int? + let disdiapason: String? + let ensnare: JSONNull? + let homocerc: Bool? + let hybridizer, leastwise, lof, monkhood: JSONNull? + let netherlandish, nonbookish, peonism, phonelescope: JSONNull? + let porphyrogeniture, preindemnify, rosal, scalenous: JSONNull? + let scopine, sedaceae, suberinize, symbiot: JSONNull? + let tablefellow, unchargeable: JSONNull? + + enum CodingKeys: String, CodingKey { + case amidosulphonal + case benny = "Benny" + case catharticalness + case chirotherium = "Chirotherium" + case disdiapason, ensnare, homocerc, hybridizer, leastwise, lof, monkhood + case netherlandish = "Netherlandish" + case nonbookish, peonism + case phonelescope = "Phonelescope" + case porphyrogeniture, preindemnify, rosal, scalenous, scopine + case sedaceae = "Sedaceae" + case suberinize, symbiot, tablefellow, unchargeable + } + + init(amidosulphonal: JSONNull?, benny: JSONNull?, catharticalness: Double?, chirotherium: Int?, disdiapason: String?, ensnare: JSONNull?, homocerc: Bool?, hybridizer: JSONNull?, leastwise: JSONNull?, lof: JSONNull?, monkhood: JSONNull?, netherlandish: JSONNull?, nonbookish: JSONNull?, peonism: JSONNull?, phonelescope: JSONNull?, porphyrogeniture: JSONNull?, preindemnify: JSONNull?, rosal: JSONNull?, scalenous: JSONNull?, scopine: JSONNull?, sedaceae: JSONNull?, suberinize: JSONNull?, symbiot: JSONNull?, tablefellow: JSONNull?, unchargeable: JSONNull?) { + self.amidosulphonal = amidosulphonal + self.benny = benny + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.disdiapason = disdiapason + self.ensnare = ensnare + self.homocerc = homocerc + self.hybridizer = hybridizer + self.leastwise = leastwise + self.lof = lof + self.monkhood = monkhood + self.netherlandish = netherlandish + self.nonbookish = nonbookish + self.peonism = peonism + self.phonelescope = phonelescope + self.porphyrogeniture = porphyrogeniture + self.preindemnify = preindemnify + self.rosal = rosal + self.scalenous = scalenous + self.scopine = scopine + self.sedaceae = sedaceae + self.suberinize = suberinize + self.symbiot = symbiot + self.tablefellow = tablefellow + self.unchargeable = unchargeable + } +} + +enum Consilience: Codable { + case double(Double) + case integerMap([String: Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + throw DecodingError.typeMismatch(Consilience.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Consilience")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + } + } +} + +enum Constructor: Codable { + case bool(Bool) + case unionMap([String: Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([String: Int?].self) { + self = .unionMap(x) + return + } + throw DecodingError.typeMismatch(Constructor.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Constructor")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .unionMap(let x): + try container.encode(x) + } + } +} + +enum Continuative: Codable { + case integerMap([String: Int]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + throw DecodingError.typeMismatch(Continuative.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Continuative")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Credulity: Codable { + case integer(Int) + case nullMap([String: JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + throw DecodingError.typeMismatch(Credulity.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Credulity")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Creviced: Codable { + case bool(Bool) + case integerMap([String: Int]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + throw DecodingError.typeMismatch(Creviced.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Creviced")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Deruralize: Codable { + case bool(Bool) + case nullArray([JSONNull?]) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Deruralize.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Deruralize")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum Diaerese: Codable { + case bool(Bool) + case integerArray([Int]) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Diaerese.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Diaerese")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum DiscordiaUnion: Codable { + case discordiaClass(DiscordiaClass) + case integerArray([Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(DiscordiaClass.self) { + self = .discordiaClass(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(DiscordiaUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for DiscordiaUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .discordiaClass(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + } + } +} + +class DiscordiaClass: Codable { + let altaic, amoristic, blennophthalmia: Int? + let catharticalness: Double? + let chirotherium, disciplinability: Int? + let disdiapason: String? + let goofer: Int? + let homocerc: Bool? + let laryngograph, leucitis, lymphocyst, microcosmology: Int? + let nauseation: Int? + let nonbookish: JSONNull? + let patarin, preliberal, prettifier, rangework: Int? + let redient, subfusiform, suicidical, swow: Int? + let wastrel, wingle: Int? + + enum CodingKeys: String, CodingKey { + case altaic = "Altaic" + case amoristic, blennophthalmia, catharticalness + case chirotherium = "Chirotherium" + case disciplinability, disdiapason, goofer, homocerc, laryngograph, leucitis, lymphocyst, microcosmology, nauseation, nonbookish + case patarin = "Patarin" + case preliberal, prettifier, rangework, redient, subfusiform, suicidical, swow, wastrel, wingle + } + + init(altaic: Int?, amoristic: Int?, blennophthalmia: Int?, catharticalness: Double?, chirotherium: Int?, disciplinability: Int?, disdiapason: String?, goofer: Int?, homocerc: Bool?, laryngograph: Int?, leucitis: Int?, lymphocyst: Int?, microcosmology: Int?, nauseation: Int?, nonbookish: JSONNull?, patarin: Int?, preliberal: Int?, prettifier: Int?, rangework: Int?, redient: Int?, subfusiform: Int?, suicidical: Int?, swow: Int?, wastrel: Int?, wingle: Int?) { + self.altaic = altaic + self.amoristic = amoristic + self.blennophthalmia = blennophthalmia + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.disciplinability = disciplinability + self.disdiapason = disdiapason + self.goofer = goofer + self.homocerc = homocerc + self.laryngograph = laryngograph + self.leucitis = leucitis + self.lymphocyst = lymphocyst + self.microcosmology = microcosmology + self.nauseation = nauseation + self.nonbookish = nonbookish + self.patarin = patarin + self.preliberal = preliberal + self.prettifier = prettifier + self.rangework = rangework + self.redient = redient + self.subfusiform = subfusiform + self.suicidical = suicidical + self.swow = swow + self.wastrel = wastrel + self.wingle = wingle + } +} + +enum Downstroke: Codable { + case bool(Bool) + case nullArray([JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Downstroke.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Downstroke")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Eleutheromania: Codable { + case double(Double) + case integerMap([String: Int]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + throw DecodingError.typeMismatch(Eleutheromania.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Eleutheromania")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Endomyce: Codable { + case integer(Int) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + throw DecodingError.typeMismatch(Endomyce.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Endomyce")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Entomoid: Codable { + case integer(Int) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + throw DecodingError.typeMismatch(Entomoid.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Entomoid")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Epinephelidae: Codable { + case bool(Bool) + case integer(Int) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + throw DecodingError.typeMismatch(Epinephelidae.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Epinephelidae")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integer(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Epipaleolithic: Codable { + case double(Double) + case integerArray([Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Epipaleolithic.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Epipaleolithic")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + } + } +} + +enum Eupatorium: Codable { + case integerMap([String: Int]) + case nullArray([JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Eupatorium.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Eupatorium")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerMap(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + } + } +} + +enum Expropriable: Codable { + case double(Double) + case nullArray([JSONNull?]) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Expropriable.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Expropriable")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Faggingly: Codable { + case double(Double) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + throw DecodingError.typeMismatch(Faggingly.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Faggingly")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum Fenk: Codable { + case nullMap([String: JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + throw DecodingError.typeMismatch(Fenk.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Fenk")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Flagmaking: Codable { + case bool(Bool) + case double(Double) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + throw DecodingError.typeMismatch(Flagmaking.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Flagmaking")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .double(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum Fluorometer: Codable { + case integer(Int) + case string(String) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Fluorometer.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Fluorometer")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Fuzzy: Codable { + case integer(Int) + case unionMap([String: Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: Int?].self) { + self = .unionMap(x) + return + } + throw DecodingError.typeMismatch(Fuzzy.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Fuzzy")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .unionMap(let x): + try container.encode(x) + } + } +} + +enum Gardenward: Codable { + case bool(Bool) + case integerArray([Int]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Gardenward.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Gardenward")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Generalissimo: Codable { + case bool(Bool) + case integerMap([String: Int]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Generalissimo.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Generalissimo")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Gryphosaurus: Codable { + case integerArray([Int]) + case nullMap([String: JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Gryphosaurus.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Gryphosaurus")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Hemicrystalline: Codable { + case rebeccaClass(RebeccaClass) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + throw DecodingError.typeMismatch(Hemicrystalline.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Hemicrystalline")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .rebeccaClass(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum HemocoeleUnion: Codable { + case hemocoeleClass(HemocoeleClass) + case integerArray([Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(HemocoeleClass.self) { + self = .hemocoeleClass(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(HemocoeleUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for HemocoeleUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .hemocoeleClass(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + } + } +} + +class HemocoeleClass: Codable { + let acrogamy, amelification, autobiographic, berat: JSONNull? + let catharticalness: Double? + let chirotherium: Int? + let disdiapason: String? + let disproportionably, erythrite, graphic, hepatological: JSONNull? + let homocerc: Bool? + let incommensurably, misaffirm, nonbookish, pocketbook: JSONNull? + let sclerometric, stambouline, stickpin, tubulure: JSONNull? + let undelated, unsalt, untutelar, vagrant: JSONNull? + let walt: JSONNull? + + enum CodingKeys: String, CodingKey { + case acrogamy, amelification, autobiographic, berat, catharticalness + case chirotherium = "Chirotherium" + case disdiapason, disproportionably, erythrite, graphic, hepatological, homocerc, incommensurably, misaffirm, nonbookish, pocketbook, sclerometric, stambouline, stickpin, tubulure, undelated, unsalt, untutelar, vagrant + case walt = "Walt" + } + + init(acrogamy: JSONNull?, amelification: JSONNull?, autobiographic: JSONNull?, berat: JSONNull?, catharticalness: Double?, chirotherium: Int?, disdiapason: String?, disproportionably: JSONNull?, erythrite: JSONNull?, graphic: JSONNull?, hepatological: JSONNull?, homocerc: Bool?, incommensurably: JSONNull?, misaffirm: JSONNull?, nonbookish: JSONNull?, pocketbook: JSONNull?, sclerometric: JSONNull?, stambouline: JSONNull?, stickpin: JSONNull?, tubulure: JSONNull?, undelated: JSONNull?, unsalt: JSONNull?, untutelar: JSONNull?, vagrant: JSONNull?, walt: JSONNull?) { + self.acrogamy = acrogamy + self.amelification = amelification + self.autobiographic = autobiographic + self.berat = berat + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.disdiapason = disdiapason + self.disproportionably = disproportionably + self.erythrite = erythrite + self.graphic = graphic + self.hepatological = hepatological + self.homocerc = homocerc + self.incommensurably = incommensurably + self.misaffirm = misaffirm + self.nonbookish = nonbookish + self.pocketbook = pocketbook + self.sclerometric = sclerometric + self.stambouline = stambouline + self.stickpin = stickpin + self.tubulure = tubulure + self.undelated = undelated + self.unsalt = unsalt + self.untutelar = untutelar + self.vagrant = vagrant + self.walt = walt + } +} + +enum Hoister: Codable { + case rebeccaClass(RebeccaClass) + case string(String) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Hoister.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Hoister")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .rebeccaClass(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Hyperpiesi: Codable { + case nullArray([JSONNull?]) + case rebeccaClass(RebeccaClass) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Hyperpiesi.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Hyperpiesi")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Hyppish: Codable { + case bool(Bool) + case string(String) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Hyppish.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Hyppish")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Idealizer: Codable { + case integer(Int) + case nullArray([JSONNull?]) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Idealizer.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Idealizer")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Incrustator: Codable { + case integer(Int) + case integerArray([Int]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Incrustator.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Incrustator")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Intentiveness: Codable { + case double(Double) + case rebeccaClass(RebeccaClass) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + throw DecodingError.typeMismatch(Intentiveness.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Intentiveness")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +class Interacinar: Codable { + let assapan: Double + let benefactorship: Bool + let triseriatim: String + let tubbing: Int + let untrimmed: JSONNull? + + init(assapan: Double, benefactorship: Bool, triseriatim: String, tubbing: Int, untrimmed: JSONNull?) { + self.assapan = assapan + self.benefactorship = benefactorship + self.triseriatim = triseriatim + self.tubbing = tubbing + self.untrimmed = untrimmed + } +} + +enum Jacutinga: Codable { + case integerArray([Int]) + case unionMap([String: Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: Int?].self) { + self = .unionMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Jacutinga.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Jacutinga")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .unionMap(let x): + try container.encode(x) + } + } +} + +enum Juror: Codable { + case bool(Bool) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + throw DecodingError.typeMismatch(Juror.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Juror")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum Kongoni: Codable { + case integerArray([Int]) + case integerMap([String: Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Kongoni.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Kongoni")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + } + } +} + +enum Koryak: Codable { + case string(String) + case unionMap([String: Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: Int?].self) { + self = .unionMap(x) + return + } + throw DecodingError.typeMismatch(Koryak.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Koryak")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .string(let x): + try container.encode(x) + case .unionMap(let x): + try container.encode(x) + } + } +} + +enum Ladronism: Codable { + case double(Double) + case nullMap([String: JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + throw DecodingError.typeMismatch(Ladronism.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Ladronism")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Landlubberly: Codable { + case bool(Bool) + case integer(Int) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + throw DecodingError.typeMismatch(Landlubberly.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Landlubberly")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integer(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum LaviniaUnion: Codable { + case laviniaClass(LaviniaClass) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode(LaviniaClass.self) { + self = .laviniaClass(x) + return + } + throw DecodingError.typeMismatch(LaviniaUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for LaviniaUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .laviniaClass(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +class LaviniaClass: Codable { + let agitable, asininity, benefiter, bronzelike: Int? + let catharticalness: Double? + let chirotherium, cholesteatomatous, deprivement: Int? + let disdiapason: String? + let flippantness, fogproof: Int? + let homocerc: Bool? + let merrymeeting: Int? + let nonbookish: JSONNull? + let overcareful, panaris, preacceptance, quinoxaline: Int? + let sig, superconfusion, tacana, tillotter: Int? + let tranquillize, unquestionable, uproute: Int? + + enum CodingKeys: String, CodingKey { + case agitable, asininity, benefiter, bronzelike, catharticalness + case chirotherium = "Chirotherium" + case cholesteatomatous, deprivement, disdiapason, flippantness, fogproof, homocerc, merrymeeting, nonbookish, overcareful, panaris, preacceptance, quinoxaline, sig, superconfusion + case tacana = "Tacana" + case tillotter, tranquillize, unquestionable, uproute + } + + init(agitable: Int?, asininity: Int?, benefiter: Int?, bronzelike: Int?, catharticalness: Double?, chirotherium: Int?, cholesteatomatous: Int?, deprivement: Int?, disdiapason: String?, flippantness: Int?, fogproof: Int?, homocerc: Bool?, merrymeeting: Int?, nonbookish: JSONNull?, overcareful: Int?, panaris: Int?, preacceptance: Int?, quinoxaline: Int?, sig: Int?, superconfusion: Int?, tacana: Int?, tillotter: Int?, tranquillize: Int?, unquestionable: Int?, uproute: Int?) { + self.agitable = agitable + self.asininity = asininity + self.benefiter = benefiter + self.bronzelike = bronzelike + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.cholesteatomatous = cholesteatomatous + self.deprivement = deprivement + self.disdiapason = disdiapason + self.flippantness = flippantness + self.fogproof = fogproof + self.homocerc = homocerc + self.merrymeeting = merrymeeting + self.nonbookish = nonbookish + self.overcareful = overcareful + self.panaris = panaris + self.preacceptance = preacceptance + self.quinoxaline = quinoxaline + self.sig = sig + self.superconfusion = superconfusion + self.tacana = tacana + self.tillotter = tillotter + self.tranquillize = tranquillize + self.unquestionable = unquestionable + self.uproute = uproute + } +} + +enum Listener: Codable { + case integer(Int) + case nullArray([JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Listener.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Listener")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + } + } +} + +enum LupusUnion: Codable { + case integer(Int) + case lupusClass(LupusClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(LupusClass.self) { + self = .lupusClass(x) + return + } + throw DecodingError.typeMismatch(LupusUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for LupusUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .lupusClass(let x): + try container.encode(x) + } + } +} + +class LupusClass: Codable { + let catharticalness: Double? + let chirotherium, chlorioninae, corvinae, crassina: Int? + let disdiapason: String? + let exiguity, farcist, holographical: Int? + let homocerc: Bool? + let ichthyophagan, implacable: Int? + let nonbookish: JSONNull? + let outshiner, overweather, protonegroid, shallowish: Int? + let snoke, snout, surveillance, threshingtime: Int? + let thysanocarpus, unsignificantly, unsnap, vendible: Int? + + enum CodingKeys: String, CodingKey { + case catharticalness + case chirotherium = "Chirotherium" + case chlorioninae = "Chlorioninae" + case corvinae = "Corvinae" + case crassina = "Crassina" + case disdiapason, exiguity, farcist, holographical, homocerc, ichthyophagan, implacable, nonbookish, outshiner, overweather, protonegroid, shallowish, snoke, snout, surveillance, threshingtime + case thysanocarpus = "Thysanocarpus" + case unsignificantly, unsnap, vendible + } + + init(catharticalness: Double?, chirotherium: Int?, chlorioninae: Int?, corvinae: Int?, crassina: Int?, disdiapason: String?, exiguity: Int?, farcist: Int?, holographical: Int?, homocerc: Bool?, ichthyophagan: Int?, implacable: Int?, nonbookish: JSONNull?, outshiner: Int?, overweather: Int?, protonegroid: Int?, shallowish: Int?, snoke: Int?, snout: Int?, surveillance: Int?, threshingtime: Int?, thysanocarpus: Int?, unsignificantly: Int?, unsnap: Int?, vendible: Int?) { + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.chlorioninae = chlorioninae + self.corvinae = corvinae + self.crassina = crassina + self.disdiapason = disdiapason + self.exiguity = exiguity + self.farcist = farcist + self.holographical = holographical + self.homocerc = homocerc + self.ichthyophagan = ichthyophagan + self.implacable = implacable + self.nonbookish = nonbookish + self.outshiner = outshiner + self.overweather = overweather + self.protonegroid = protonegroid + self.shallowish = shallowish + self.snoke = snoke + self.snout = snout + self.surveillance = surveillance + self.threshingtime = threshingtime + self.thysanocarpus = thysanocarpus + self.unsignificantly = unsignificantly + self.unsnap = unsnap + self.vendible = vendible + } +} + +class Maslin: Codable { + let alicant: Int? + let antiatonement: JSONNull? + let anticorrosive: Int? + let aphidozer, bakuninist: JSONNull? + let be: Int? + let catharticalness: Double? + let chirotherium, chub, cuprosilicon, curtailedly: Int? + let dellenite, dimitry: Int? + let disdiapason: String? + let edifying: JSONNull? + let ethmoiditis: Int? + let gastralgy: JSONNull? + let goatherd, hammerdress: Int? + let hangfire: JSONNull? + let homocerc: Bool? + let lacunosity: Int? + let longiloquence: JSONNull? + let mameliere: Int? + let motherless, nonbookish, noncorrodible, nonsensicality: JSONNull? + let oafishly: Int? + let pfund, preadvisory, retroflexed: JSONNull? + let saccharulmic, scowlful: Int? + let secluded, slackage: JSONNull? + let sphaeridial: Int? + let spondulics: JSONNull? + let subsecive: Int? + let swellmobsman: JSONNull? + let trachyglossate: Int? + let trialogue: JSONNull? + let unassuaged: Int? + let ungross, unjudiciously: JSONNull? + + enum CodingKeys: String, CodingKey { + case alicant = "Alicant" + case antiatonement, anticorrosive, aphidozer + case bakuninist = "Bakuninist" + case be, catharticalness + case chirotherium = "Chirotherium" + case chub, cuprosilicon, curtailedly, dellenite + case dimitry = "Dimitry" + case disdiapason, edifying, ethmoiditis, gastralgy, goatherd, hammerdress, hangfire, homocerc, lacunosity, longiloquence, mameliere, motherless, nonbookish, noncorrodible, nonsensicality, oafishly, pfund, preadvisory, retroflexed, saccharulmic, scowlful, secluded, slackage, sphaeridial, spondulics, subsecive, swellmobsman, trachyglossate, trialogue, unassuaged, ungross, unjudiciously + } + + init(alicant: Int?, antiatonement: JSONNull?, anticorrosive: Int?, aphidozer: JSONNull?, bakuninist: JSONNull?, be: Int?, catharticalness: Double?, chirotherium: Int?, chub: Int?, cuprosilicon: Int?, curtailedly: Int?, dellenite: Int?, dimitry: Int?, disdiapason: String?, edifying: JSONNull?, ethmoiditis: Int?, gastralgy: JSONNull?, goatherd: Int?, hammerdress: Int?, hangfire: JSONNull?, homocerc: Bool?, lacunosity: Int?, longiloquence: JSONNull?, mameliere: Int?, motherless: JSONNull?, nonbookish: JSONNull?, noncorrodible: JSONNull?, nonsensicality: JSONNull?, oafishly: Int?, pfund: JSONNull?, preadvisory: JSONNull?, retroflexed: JSONNull?, saccharulmic: Int?, scowlful: Int?, secluded: JSONNull?, slackage: JSONNull?, sphaeridial: Int?, spondulics: JSONNull?, subsecive: Int?, swellmobsman: JSONNull?, trachyglossate: Int?, trialogue: JSONNull?, unassuaged: Int?, ungross: JSONNull?, unjudiciously: JSONNull?) { + self.alicant = alicant + self.antiatonement = antiatonement + self.anticorrosive = anticorrosive + self.aphidozer = aphidozer + self.bakuninist = bakuninist + self.be = be + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.chub = chub + self.cuprosilicon = cuprosilicon + self.curtailedly = curtailedly + self.dellenite = dellenite + self.dimitry = dimitry + self.disdiapason = disdiapason + self.edifying = edifying + self.ethmoiditis = ethmoiditis + self.gastralgy = gastralgy + self.goatherd = goatherd + self.hammerdress = hammerdress + self.hangfire = hangfire + self.homocerc = homocerc + self.lacunosity = lacunosity + self.longiloquence = longiloquence + self.mameliere = mameliere + self.motherless = motherless + self.nonbookish = nonbookish + self.noncorrodible = noncorrodible + self.nonsensicality = nonsensicality + self.oafishly = oafishly + self.pfund = pfund + self.preadvisory = preadvisory + self.retroflexed = retroflexed + self.saccharulmic = saccharulmic + self.scowlful = scowlful + self.secluded = secluded + self.slackage = slackage + self.sphaeridial = sphaeridial + self.spondulics = spondulics + self.subsecive = subsecive + self.swellmobsman = swellmobsman + self.trachyglossate = trachyglossate + self.trialogue = trialogue + self.unassuaged = unassuaged + self.ungross = ungross + self.unjudiciously = unjudiciously + } +} + +enum Monazite: Codable { + case double(Double) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + throw DecodingError.typeMismatch(Monazite.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Monazite")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Monoliteral: Codable { + case bool(Bool) + case nullArray([JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Monoliteral.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Monoliteral")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + } + } +} + +enum MonotheisticallyUnion: Codable { + case monotheisticallyClass(MonotheisticallyClass) + case nullArray([JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(MonotheisticallyClass.self) { + self = .monotheisticallyClass(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(MonotheisticallyUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for MonotheisticallyUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .monotheisticallyClass(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + } + } +} + +class MonotheisticallyClass: Codable { + let blaspheme: JSONNull? + let catharticalness: Double? + let celiosalpingectomy: JSONNull? + let chirotherium: Int? + let consummativeness: JSONNull? + let disdiapason: String? + let egestive, enchylema, gasconade, holidayer: JSONNull? + let homocerc: Bool? + let intuitionalism, lophiostomate, nonbookish, nonvolition: JSONNull? + let palatableness, pimpery, previolation, reconveyance: JSONNull? + let registership, rhyacolite, smithereens, superedification: JSONNull? + let trust, whitestone: JSONNull? + + enum CodingKeys: String, CodingKey { + case blaspheme, catharticalness, celiosalpingectomy + case chirotherium = "Chirotherium" + case consummativeness, disdiapason, egestive, enchylema, gasconade, holidayer, homocerc, intuitionalism, lophiostomate, nonbookish, nonvolition, palatableness, pimpery, previolation, reconveyance, registership, rhyacolite, smithereens, superedification, trust, whitestone + } + + init(blaspheme: JSONNull?, catharticalness: Double?, celiosalpingectomy: JSONNull?, chirotherium: Int?, consummativeness: JSONNull?, disdiapason: String?, egestive: JSONNull?, enchylema: JSONNull?, gasconade: JSONNull?, holidayer: JSONNull?, homocerc: Bool?, intuitionalism: JSONNull?, lophiostomate: JSONNull?, nonbookish: JSONNull?, nonvolition: JSONNull?, palatableness: JSONNull?, pimpery: JSONNull?, previolation: JSONNull?, reconveyance: JSONNull?, registership: JSONNull?, rhyacolite: JSONNull?, smithereens: JSONNull?, superedification: JSONNull?, trust: JSONNull?, whitestone: JSONNull?) { + self.blaspheme = blaspheme + self.catharticalness = catharticalness + self.celiosalpingectomy = celiosalpingectomy + self.chirotherium = chirotherium + self.consummativeness = consummativeness + self.disdiapason = disdiapason + self.egestive = egestive + self.enchylema = enchylema + self.gasconade = gasconade + self.holidayer = holidayer + self.homocerc = homocerc + self.intuitionalism = intuitionalism + self.lophiostomate = lophiostomate + self.nonbookish = nonbookish + self.nonvolition = nonvolition + self.palatableness = palatableness + self.pimpery = pimpery + self.previolation = previolation + self.reconveyance = reconveyance + self.registership = registership + self.rhyacolite = rhyacolite + self.smithereens = smithereens + self.superedification = superedification + self.trust = trust + self.whitestone = whitestone + } +} + +enum Montage: Codable { + case double(Double) + case nullArray([JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Montage.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Montage")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Moralness: Codable { + case double(Double) + case nullArray([JSONNull?]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Moralness.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Moralness")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Mulishly: Codable { + case double(Double) + case integerArray([Int]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Mulishly.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Mulishly")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Myoscope: Codable { + case bool(Bool) + case integer(Int) + case nullArray([JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Myoscope.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Myoscope")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integer(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + } + } +} + +enum Neuromastic: Codable { + case double(Double) + case nullArray([JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Neuromastic.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Neuromastic")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + } + } +} + +class Noncontributing: Codable { + let estevin: String + let jolterhead: Double + let sauternes: Int + let sparsely: Bool + let unrequested: JSONNull? + + init(estevin: String, jolterhead: Double, sauternes: Int, sparsely: Bool, unrequested: JSONNull?) { + self.estevin = estevin + self.jolterhead = jolterhead + self.sauternes = sauternes + self.sparsely = sparsely + self.unrequested = unrequested + } +} + +enum Nonnervous: Codable { + case bool(Bool) + case integer(Int) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + throw DecodingError.typeMismatch(Nonnervous.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Nonnervous")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integer(let x): + try container.encode(x) + } + } +} + +enum Nonvaluation: Codable { + case bool(Bool) + case double(Double) + case nullArray([JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Nonvaluation.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Nonvaluation")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .double(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + } + } +} + +enum Occupationalist: Codable { + case nullArray([JSONNull?]) + case nullMap([String: JSONNull?]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Occupationalist.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Occupationalist")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Oskar: Codable { + case integerArray([Int]) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Oskar.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Oskar")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum Outrival: Codable { + case double(Double) + case nullMap([String: JSONNull?]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Outrival.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Outrival")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Paleographically: Codable { + case double(Double) + case unionMap([String: Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: Int?].self) { + self = .unionMap(x) + return + } + throw DecodingError.typeMismatch(Paleographically.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Paleographically")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .unionMap(let x): + try container.encode(x) + } + } +} + +enum Pamphletwise: Codable { + case integer(Int) + case integerMap([String: Int]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + throw DecodingError.typeMismatch(Pamphletwise.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Pamphletwise")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Pediatric: Codable { + case bool(Bool) + case double(Double) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Pediatric.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Pediatric")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .double(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum PiaculumUnion: Codable { + case double(Double) + case piaculumClass(PiaculumClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(PiaculumClass.self) { + self = .piaculumClass(x) + return + } + throw DecodingError.typeMismatch(PiaculumUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for PiaculumUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .piaculumClass(let x): + try container.encode(x) + } + } +} + +class PiaculumClass: Codable { + let alada, amphistomous, boysenberry: Int? + let catharticalness: Double? + let chirotherium, decardinalize, discouragement: Int? + let disdiapason: String? + let doitrified, hexaspermous: Int? + let homocerc: Bool? + let insinking, loathfulness, miasmatical, neurofibril: Int? + let nonbookish: JSONNull? + let phonendoscope, pilferment, predismissory, preinscription: Int? + let quotative, sienna, thorax, yachting: Int? + let zipper: Int? + + enum CodingKeys: String, CodingKey { + case alada, amphistomous, boysenberry, catharticalness + case chirotherium = "Chirotherium" + case decardinalize, discouragement, disdiapason, doitrified, hexaspermous, homocerc, insinking, loathfulness, miasmatical, neurofibril, nonbookish, phonendoscope, pilferment, predismissory, preinscription, quotative, sienna, thorax, yachting + case zipper = "Zipper" + } + + init(alada: Int?, amphistomous: Int?, boysenberry: Int?, catharticalness: Double?, chirotherium: Int?, decardinalize: Int?, discouragement: Int?, disdiapason: String?, doitrified: Int?, hexaspermous: Int?, homocerc: Bool?, insinking: Int?, loathfulness: Int?, miasmatical: Int?, neurofibril: Int?, nonbookish: JSONNull?, phonendoscope: Int?, pilferment: Int?, predismissory: Int?, preinscription: Int?, quotative: Int?, sienna: Int?, thorax: Int?, yachting: Int?, zipper: Int?) { + self.alada = alada + self.amphistomous = amphistomous + self.boysenberry = boysenberry + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.decardinalize = decardinalize + self.discouragement = discouragement + self.disdiapason = disdiapason + self.doitrified = doitrified + self.hexaspermous = hexaspermous + self.homocerc = homocerc + self.insinking = insinking + self.loathfulness = loathfulness + self.miasmatical = miasmatical + self.neurofibril = neurofibril + self.nonbookish = nonbookish + self.phonendoscope = phonendoscope + self.pilferment = pilferment + self.predismissory = predismissory + self.preinscription = preinscription + self.quotative = quotative + self.sienna = sienna + self.thorax = thorax + self.yachting = yachting + self.zipper = zipper + } +} + +enum Piccadilly: Codable { + case double(Double) + case string(String) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Piccadilly.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Piccadilly")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Piffler: Codable { + case nullArray([JSONNull?]) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Piffler.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Piffler")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Pithful: Codable { + case bool(Bool) + case integer(Int) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Pithful.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Pithful")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integer(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Placuntiti: Codable { + case integer(Int) + case integerMap([String: Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + throw DecodingError.typeMismatch(Placuntiti.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Placuntiti")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + } + } +} + +class Pneumocele: Codable { + let carbonarism: JSONNull? + let catharticalness: Double? + let chirotherium: Int? + let cineolic, cobbly, conchyliferous, congregation: JSONNull? + let disdiapason: String? + let enterotomy, entophytal, fewtrils, herem: JSONNull? + let homocerc: Bool? + let koniga, meticulosity, micky, mismarriage: JSONNull? + let neurotrophic, nonbookish, persuasively, replaceable: JSONNull? + let silex, taillight, unjealous, visitorial: JSONNull? + + enum CodingKeys: String, CodingKey { + case carbonarism = "Carbonarism" + case catharticalness + case chirotherium = "Chirotherium" + case cineolic, cobbly, conchyliferous, congregation, disdiapason, enterotomy, entophytal, fewtrils, herem, homocerc + case koniga = "Koniga" + case meticulosity + case micky = "Micky" + case mismarriage, neurotrophic, nonbookish, persuasively, replaceable, silex, taillight, unjealous, visitorial + } + + init(carbonarism: JSONNull?, catharticalness: Double?, chirotherium: Int?, cineolic: JSONNull?, cobbly: JSONNull?, conchyliferous: JSONNull?, congregation: JSONNull?, disdiapason: String?, enterotomy: JSONNull?, entophytal: JSONNull?, fewtrils: JSONNull?, herem: JSONNull?, homocerc: Bool?, koniga: JSONNull?, meticulosity: JSONNull?, micky: JSONNull?, mismarriage: JSONNull?, neurotrophic: JSONNull?, nonbookish: JSONNull?, persuasively: JSONNull?, replaceable: JSONNull?, silex: JSONNull?, taillight: JSONNull?, unjealous: JSONNull?, visitorial: JSONNull?) { + self.carbonarism = carbonarism + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.cineolic = cineolic + self.cobbly = cobbly + self.conchyliferous = conchyliferous + self.congregation = congregation + self.disdiapason = disdiapason + self.enterotomy = enterotomy + self.entophytal = entophytal + self.fewtrils = fewtrils + self.herem = herem + self.homocerc = homocerc + self.koniga = koniga + self.meticulosity = meticulosity + self.micky = micky + self.mismarriage = mismarriage + self.neurotrophic = neurotrophic + self.nonbookish = nonbookish + self.persuasively = persuasively + self.replaceable = replaceable + self.silex = silex + self.taillight = taillight + self.unjealous = unjealous + self.visitorial = visitorial + } +} + +enum Poliorcetic: Codable { + case bool(Bool) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + throw DecodingError.typeMismatch(Poliorcetic.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Poliorcetic")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Poormaster: Codable { + case integerArray([Int]) + case integerMap([String: Int]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Poormaster.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Poormaster")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Potwhisky: Codable { + case integer(Int) + case nullMap([String: JSONNull?]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Potwhisky.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Potwhisky")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Practicalizer: Codable { + case nullArray([JSONNull?]) + case rebeccaClass(RebeccaClass) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Practicalizer.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Practicalizer")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Prefreshman: Codable { + case nullArray([JSONNull?]) + case nullMap([String: JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Prefreshman.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Prefreshman")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Prehensility: Codable { + case bool(Bool) + case nullArray([JSONNull?]) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Prehensility.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Prehensility")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Prevoidance: Codable { + case integer(Int) + case integerArray([Int]) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Prevoidance.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Prevoidance")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Protext: Codable { + case bool(Bool) + case integerArray([Int]) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Protext.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Protext")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Protrusive: Codable { + case double(Double) + case unionArray([Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([Int?].self) { + self = .unionArray(x) + return + } + throw DecodingError.typeMismatch(Protrusive.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Protrusive")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .unionArray(let x): + try container.encode(x) + } + } +} + +enum Pulpitism: Codable { + case double(Double) + case integerArray([Int]) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Pulpitism.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Pulpitism")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum Pyodermia: Codable { + case integer(Int) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + throw DecodingError.typeMismatch(Pyodermia.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Pyodermia")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum Quebrachine: Codable { + case bool(Bool) + case rebeccaClass(RebeccaClass) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Quebrachine.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Quebrachine")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Querier: Codable { + case bool(Bool) + case integerMap([String: Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + throw DecodingError.typeMismatch(Querier.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Querier")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + } + } +} + +enum Rebarbative: Codable { + case bool(Bool) + case double(Double) + case integerArray([Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Rebarbative.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Rebarbative")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .double(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + } + } +} + +enum RebeccaUnion: Codable { + case integer(Int) + case rebeccaClass(RebeccaClass) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + throw DecodingError.typeMismatch(RebeccaUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for RebeccaUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +class Reimagine: Codable { + let adducible, anabolin, brainy: JSONNull? + let catharticalness: Double? + let chirotherium: Int? + let chrysamine: JSONNull? + let disdiapason: String? + let fluxweed, glaucine, grobianism, hermo: JSONNull? + let hieroglyphist: JSONNull? + let homocerc: Bool? + let icteroid, immortal, impetulant, irrigate: JSONNull? + let myxedema, nonbookish, onyx, repasser: JSONNull? + let septomarginal, subdie, tibiometatarsal, waltzlike: JSONNull? + + enum CodingKeys: String, CodingKey { + case adducible, anabolin, brainy, catharticalness + case chirotherium = "Chirotherium" + case chrysamine, disdiapason, fluxweed, glaucine, grobianism + case hermo = "Hermo" + case hieroglyphist, homocerc, icteroid, immortal, impetulant, irrigate, myxedema, nonbookish, onyx, repasser, septomarginal, subdie, tibiometatarsal, waltzlike + } + + init(adducible: JSONNull?, anabolin: JSONNull?, brainy: JSONNull?, catharticalness: Double?, chirotherium: Int?, chrysamine: JSONNull?, disdiapason: String?, fluxweed: JSONNull?, glaucine: JSONNull?, grobianism: JSONNull?, hermo: JSONNull?, hieroglyphist: JSONNull?, homocerc: Bool?, icteroid: JSONNull?, immortal: JSONNull?, impetulant: JSONNull?, irrigate: JSONNull?, myxedema: JSONNull?, nonbookish: JSONNull?, onyx: JSONNull?, repasser: JSONNull?, septomarginal: JSONNull?, subdie: JSONNull?, tibiometatarsal: JSONNull?, waltzlike: JSONNull?) { + self.adducible = adducible + self.anabolin = anabolin + self.brainy = brainy + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.chrysamine = chrysamine + self.disdiapason = disdiapason + self.fluxweed = fluxweed + self.glaucine = glaucine + self.grobianism = grobianism + self.hermo = hermo + self.hieroglyphist = hieroglyphist + self.homocerc = homocerc + self.icteroid = icteroid + self.immortal = immortal + self.impetulant = impetulant + self.irrigate = irrigate + self.myxedema = myxedema + self.nonbookish = nonbookish + self.onyx = onyx + self.repasser = repasser + self.septomarginal = septomarginal + self.subdie = subdie + self.tibiometatarsal = tibiometatarsal + self.waltzlike = waltzlike + } +} + +enum Retrocervical: Codable { + case integer(Int) + case unionArray([Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([Int?].self) { + self = .unionArray(x) + return + } + throw DecodingError.typeMismatch(Retrocervical.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Retrocervical")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .unionArray(let x): + try container.encode(x) + } + } +} + +enum Revert: Codable { + case bool(Bool) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + throw DecodingError.typeMismatch(Revert.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Revert")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Rewrite: Codable { + case double(Double) + case nullArray([JSONNull?]) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Rewrite.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Rewrite")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +enum Rhomboganoidei: Codable { + case integerArray([Int]) + case rebeccaClass(RebeccaClass) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Rhomboganoidei.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Rhomboganoidei")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Ruellia: Codable { + case bool(Bool) + case rebeccaClass(RebeccaClass) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + throw DecodingError.typeMismatch(Ruellia.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Ruellia")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Saccoderm: Codable { + case integerArray([Int]) + case string(String) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Saccoderm.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Saccoderm")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Saprophilous: Codable { + case integerMap([String: Int]) + case string(String) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Saprophilous.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Saprophilous")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum SaxtenUnion: Codable { + case saxtenClass(SaxtenClass) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode(SaxtenClass.self) { + self = .saxtenClass(x) + return + } + throw DecodingError.typeMismatch(SaxtenUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for SaxtenUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .saxtenClass(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +class SaxtenClass: Codable { + let algarrobilla, bowgrace: JSONNull? + let catharticalness: Double? + let centaurid: JSONNull? + let chirotherium: Int? + let disdiapason: String? + let flix, germanely: JSONNull? + let homocerc: Bool? + let inhume, lepidote, megalochirous, ninepenny: JSONNull? + let nonbookish, nondeist, nymphaeaceous, parietofrontal: JSONNull? + let sancyite, subjectivist, tibiad, transonic: JSONNull? + let tripetalous, trunchman, urger, withdrawnness: JSONNull? + + enum CodingKeys: String, CodingKey { + case algarrobilla, bowgrace, catharticalness + case centaurid = "Centaurid" + case chirotherium = "Chirotherium" + case disdiapason, flix, germanely, homocerc, inhume, lepidote, megalochirous, ninepenny, nonbookish, nondeist, nymphaeaceous, parietofrontal, sancyite, subjectivist, tibiad, transonic, tripetalous, trunchman, urger, withdrawnness + } + + init(algarrobilla: JSONNull?, bowgrace: JSONNull?, catharticalness: Double?, centaurid: JSONNull?, chirotherium: Int?, disdiapason: String?, flix: JSONNull?, germanely: JSONNull?, homocerc: Bool?, inhume: JSONNull?, lepidote: JSONNull?, megalochirous: JSONNull?, ninepenny: JSONNull?, nonbookish: JSONNull?, nondeist: JSONNull?, nymphaeaceous: JSONNull?, parietofrontal: JSONNull?, sancyite: JSONNull?, subjectivist: JSONNull?, tibiad: JSONNull?, transonic: JSONNull?, tripetalous: JSONNull?, trunchman: JSONNull?, urger: JSONNull?, withdrawnness: JSONNull?) { + self.algarrobilla = algarrobilla + self.bowgrace = bowgrace + self.catharticalness = catharticalness + self.centaurid = centaurid + self.chirotherium = chirotherium + self.disdiapason = disdiapason + self.flix = flix + self.germanely = germanely + self.homocerc = homocerc + self.inhume = inhume + self.lepidote = lepidote + self.megalochirous = megalochirous + self.ninepenny = ninepenny + self.nonbookish = nonbookish + self.nondeist = nondeist + self.nymphaeaceous = nymphaeaceous + self.parietofrontal = parietofrontal + self.sancyite = sancyite + self.subjectivist = subjectivist + self.tibiad = tibiad + self.transonic = transonic + self.tripetalous = tripetalous + self.trunchman = trunchman + self.urger = urger + self.withdrawnness = withdrawnness + } +} + +enum School: Codable { + case integer(Int) + case integerMap([String: Int]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(School.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for School")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Scoffer: Codable { + case integerMap([String: Int]) + case nullArray([JSONNull?]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Scoffer.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Scoffer")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerMap(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Scrampum: Codable { + case bool(Bool) + case integerArray([Int]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Scrampum.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Scrampum")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Shadowable: Codable { + case bool(Bool) + case unionArray([Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([Int?].self) { + self = .unionArray(x) + return + } + throw DecodingError.typeMismatch(Shadowable.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Shadowable")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .unionArray(let x): + try container.encode(x) + } + } +} + +enum Shakespearolater: Codable { + case double(Double) + case integerArray([Int]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Shakespearolater.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Shakespearolater")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Sistering: Codable { + case integer(Int) + case nullArray([JSONNull?]) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Sistering.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Sistering")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +class Staghunting: Codable { + let calorimetric, canid: Int? + let catharticalness: Double? + let chirotherium: Int? + let disdiapason: String? + let ditriglyphic, floriferousness, gamelike, grig: Int? + let homocerc: Bool? + let interloan, lithotomy, loric, membranocoriaceous: Int? + let membranogenic: Int? + let nonbookish: JSONNull? + let overtrump, scotino, seasonable, sephen: Int? + let stigmarioid, tired, trifid, undefeatedly: Int? + let ungirlish: Int? + + enum CodingKeys: String, CodingKey { + case calorimetric, canid, catharticalness + case chirotherium = "Chirotherium" + case disdiapason, ditriglyphic, floriferousness, gamelike, grig, homocerc, interloan, lithotomy, loric, membranocoriaceous, membranogenic, nonbookish, overtrump, scotino, seasonable, sephen, stigmarioid, tired, trifid, undefeatedly, ungirlish + } + + init(calorimetric: Int?, canid: Int?, catharticalness: Double?, chirotherium: Int?, disdiapason: String?, ditriglyphic: Int?, floriferousness: Int?, gamelike: Int?, grig: Int?, homocerc: Bool?, interloan: Int?, lithotomy: Int?, loric: Int?, membranocoriaceous: Int?, membranogenic: Int?, nonbookish: JSONNull?, overtrump: Int?, scotino: Int?, seasonable: Int?, sephen: Int?, stigmarioid: Int?, tired: Int?, trifid: Int?, undefeatedly: Int?, ungirlish: Int?) { + self.calorimetric = calorimetric + self.canid = canid + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.disdiapason = disdiapason + self.ditriglyphic = ditriglyphic + self.floriferousness = floriferousness + self.gamelike = gamelike + self.grig = grig + self.homocerc = homocerc + self.interloan = interloan + self.lithotomy = lithotomy + self.loric = loric + self.membranocoriaceous = membranocoriaceous + self.membranogenic = membranogenic + self.nonbookish = nonbookish + self.overtrump = overtrump + self.scotino = scotino + self.seasonable = seasonable + self.sephen = sephen + self.stigmarioid = stigmarioid + self.tired = tired + self.trifid = trifid + self.undefeatedly = undefeatedly + self.ungirlish = ungirlish + } +} + +enum Stagmometer: Codable { + case string(String) + case unionArray([Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([Int?].self) { + self = .unionArray(x) + return + } + throw DecodingError.typeMismatch(Stagmometer.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Stagmometer")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .string(let x): + try container.encode(x) + case .unionArray(let x): + try container.encode(x) + } + } +} + +enum Stimulability: Codable { + case bool(Bool) + case integer(Int) + case integerMap([String: Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + throw DecodingError.typeMismatch(Stimulability.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Stimulability")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integer(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + } + } +} + +enum StrenuosityUnion: Codable { + case nullArray([JSONNull?]) + case strenuosityClass(StrenuosityClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(StrenuosityClass.self) { + self = .strenuosityClass(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(StrenuosityUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for StrenuosityUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullArray(let x): + try container.encode(x) + case .strenuosityClass(let x): + try container.encode(x) + } + } +} + +class StrenuosityClass: Codable { + let bliss, buccate, bulletproof: Int? + let catharticalness: Double? + let chirotherium, crumblingness: Int? + let disdiapason: String? + let engagedly, fightable, hoariness: Int? + let homocerc: Bool? + let hypopodium, luxurist, mechanician: Int? + let nonbookish: JSONNull? + let onopordon, podgily, reformableness, scatterbrains: Int? + let seminuria, sodomite, tramp, undueness: Int? + let worthily, yankeeist: Int? + + enum CodingKeys: String, CodingKey { + case bliss, buccate, bulletproof, catharticalness + case chirotherium = "Chirotherium" + case crumblingness, disdiapason, engagedly, fightable, hoariness, homocerc, hypopodium, luxurist, mechanician, nonbookish + case onopordon = "Onopordon" + case podgily, reformableness, scatterbrains, seminuria + case sodomite = "Sodomite" + case tramp, undueness, worthily + case yankeeist = "Yankeeist" + } + + init(bliss: Int?, buccate: Int?, bulletproof: Int?, catharticalness: Double?, chirotherium: Int?, crumblingness: Int?, disdiapason: String?, engagedly: Int?, fightable: Int?, hoariness: Int?, homocerc: Bool?, hypopodium: Int?, luxurist: Int?, mechanician: Int?, nonbookish: JSONNull?, onopordon: Int?, podgily: Int?, reformableness: Int?, scatterbrains: Int?, seminuria: Int?, sodomite: Int?, tramp: Int?, undueness: Int?, worthily: Int?, yankeeist: Int?) { + self.bliss = bliss + self.buccate = buccate + self.bulletproof = bulletproof + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.crumblingness = crumblingness + self.disdiapason = disdiapason + self.engagedly = engagedly + self.fightable = fightable + self.hoariness = hoariness + self.homocerc = homocerc + self.hypopodium = hypopodium + self.luxurist = luxurist + self.mechanician = mechanician + self.nonbookish = nonbookish + self.onopordon = onopordon + self.podgily = podgily + self.reformableness = reformableness + self.scatterbrains = scatterbrains + self.seminuria = seminuria + self.sodomite = sodomite + self.tramp = tramp + self.undueness = undueness + self.worthily = worthily + self.yankeeist = yankeeist + } +} + +enum Talpiform: Codable { + case double(Double) + case rebeccaClass(RebeccaClass) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Talpiform.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Talpiform")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Thwack: Codable { + case bool(Bool) + case double(Double) + case rebeccaClass(RebeccaClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + throw DecodingError.typeMismatch(Thwack.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Thwack")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .double(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + } + } +} + +enum Tortricine: Codable { + case rebeccaClass(RebeccaClass) + case unionArray([Int?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if let x = try? container.decode([Int?].self) { + self = .unionArray(x) + return + } + throw DecodingError.typeMismatch(Tortricine.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Tortricine")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .rebeccaClass(let x): + try container.encode(x) + case .unionArray(let x): + try container.encode(x) + } + } +} + +enum TruantcyUnion: Codable { + case bool(Bool) + case truantcyClass(TruantcyClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(TruantcyClass.self) { + self = .truantcyClass(x) + return + } + throw DecodingError.typeMismatch(TruantcyUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for TruantcyUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .truantcyClass(let x): + try container.encode(x) + } + } +} + +class TruantcyClass: Codable { + let alfiona, ascaridiasis, bungey: JSONNull? + let catharticalness: Double? + let ceroxyle: JSONNull? + let chirotherium: Int? + let chorology: JSONNull? + let disdiapason: String? + let enmarble, epeira, eurylaimi, germination: JSONNull? + let hallelujah: JSONNull? + let homocerc: Bool? + let lev, mouthing, nonbookish, philliloo: JSONNull? + let planetal, poney, punctualist, returnlessly: JSONNull? + let skelder, windwaywardly, yuman: JSONNull? + + enum CodingKeys: String, CodingKey { + case alfiona, ascaridiasis, bungey, catharticalness, ceroxyle + case chirotherium = "Chirotherium" + case chorology, disdiapason, enmarble + case epeira = "Epeira" + case eurylaimi = "Eurylaimi" + case germination, hallelujah, homocerc, lev, mouthing, nonbookish, philliloo, planetal, poney, punctualist, returnlessly, skelder, windwaywardly + case yuman = "Yuman" + } + + init(alfiona: JSONNull?, ascaridiasis: JSONNull?, bungey: JSONNull?, catharticalness: Double?, ceroxyle: JSONNull?, chirotherium: Int?, chorology: JSONNull?, disdiapason: String?, enmarble: JSONNull?, epeira: JSONNull?, eurylaimi: JSONNull?, germination: JSONNull?, hallelujah: JSONNull?, homocerc: Bool?, lev: JSONNull?, mouthing: JSONNull?, nonbookish: JSONNull?, philliloo: JSONNull?, planetal: JSONNull?, poney: JSONNull?, punctualist: JSONNull?, returnlessly: JSONNull?, skelder: JSONNull?, windwaywardly: JSONNull?, yuman: JSONNull?) { + self.alfiona = alfiona + self.ascaridiasis = ascaridiasis + self.bungey = bungey + self.catharticalness = catharticalness + self.ceroxyle = ceroxyle + self.chirotherium = chirotherium + self.chorology = chorology + self.disdiapason = disdiapason + self.enmarble = enmarble + self.epeira = epeira + self.eurylaimi = eurylaimi + self.germination = germination + self.hallelujah = hallelujah + self.homocerc = homocerc + self.lev = lev + self.mouthing = mouthing + self.nonbookish = nonbookish + self.philliloo = philliloo + self.planetal = planetal + self.poney = poney + self.punctualist = punctualist + self.returnlessly = returnlessly + self.skelder = skelder + self.windwaywardly = windwaywardly + self.yuman = yuman + } +} + +enum Unbeginning: Codable { + case integerMap([String: Int]) + case nullArray([JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Unbeginning.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unbeginning")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerMap(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Undesirability: Codable { + case integerArray([Int]) + case integerMap([String: Int]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Undesirability.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Undesirability")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integerArray(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Unerasing: Codable { + case integer(Int) + case integerMap([String: Int]) + case nullArray([JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Unerasing.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unerasing")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + } + } +} + +enum Unguentarium: Codable { + case integer(Int) + case nullArray([JSONNull?]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Unguentarium.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unguentarium")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum UnimpeachablyUnion: Codable { + case bool(Bool) + case unimpeachablyClass(UnimpeachablyClass) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(UnimpeachablyClass.self) { + self = .unimpeachablyClass(x) + return + } + throw DecodingError.typeMismatch(UnimpeachablyUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for UnimpeachablyUnion")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .unimpeachablyClass(let x): + try container.encode(x) + } + } +} + +class UnimpeachablyClass: Codable { + let acerin, bobadil: Int? + let catharticalness: Double? + let chirotherium, chlorophylligenous, conversational, demiowl: Int? + let disdiapason: String? + let ectorhinal, gamblesomeness: Int? + let homocerc: Bool? + let irrorate, kindergartening, lateritic, mespil: Int? + let misconfiguration: Int? + let nonbookish: JSONNull? + let planometry, quiina, robert, rot: Int? + let subcinctorium, tussocker, ultraproud, unsuggestedness: Int? + + enum CodingKeys: String, CodingKey { + case acerin + case bobadil = "Bobadil" + case catharticalness + case chirotherium = "Chirotherium" + case chlorophylligenous, conversational, demiowl, disdiapason, ectorhinal, gamblesomeness, homocerc, irrorate, kindergartening, lateritic, mespil, misconfiguration, nonbookish, planometry + case quiina = "Quiina" + case robert = "Robert" + case rot, subcinctorium, tussocker, ultraproud, unsuggestedness + } + + init(acerin: Int?, bobadil: Int?, catharticalness: Double?, chirotherium: Int?, chlorophylligenous: Int?, conversational: Int?, demiowl: Int?, disdiapason: String?, ectorhinal: Int?, gamblesomeness: Int?, homocerc: Bool?, irrorate: Int?, kindergartening: Int?, lateritic: Int?, mespil: Int?, misconfiguration: Int?, nonbookish: JSONNull?, planometry: Int?, quiina: Int?, robert: Int?, rot: Int?, subcinctorium: Int?, tussocker: Int?, ultraproud: Int?, unsuggestedness: Int?) { + self.acerin = acerin + self.bobadil = bobadil + self.catharticalness = catharticalness + self.chirotherium = chirotherium + self.chlorophylligenous = chlorophylligenous + self.conversational = conversational + self.demiowl = demiowl + self.disdiapason = disdiapason + self.ectorhinal = ectorhinal + self.gamblesomeness = gamblesomeness + self.homocerc = homocerc + self.irrorate = irrorate + self.kindergartening = kindergartening + self.lateritic = lateritic + self.mespil = mespil + self.misconfiguration = misconfiguration + self.nonbookish = nonbookish + self.planometry = planometry + self.quiina = quiina + self.robert = robert + self.rot = rot + self.subcinctorium = subcinctorium + self.tussocker = tussocker + self.ultraproud = ultraproud + self.unsuggestedness = unsuggestedness + } +} + +enum Unmortgaged: Codable { + case double(Double) + case integerMap([String: Int]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Unmortgaged.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unmortgaged")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Unobstructed: Codable { + case integer(Int) + case rebeccaClass(RebeccaClass) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(RebeccaClass.self) { + self = .rebeccaClass(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Unobstructed.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unobstructed")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .rebeccaClass(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Unreceptivity: Codable { + case integer(Int) + case nullArray([JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Unreceptivity.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unreceptivity")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .integer(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Unsatisfactoriness: Codable { + case bool(Bool) + case integer(Int) + case integerArray([Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Int.self) { + self = .integer(x) + return + } + if let x = try? container.decode([Int].self) { + self = .integerArray(x) + return + } + throw DecodingError.typeMismatch(Unsatisfactoriness.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unsatisfactoriness")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .integer(let x): + try container.encode(x) + case .integerArray(let x): + try container.encode(x) + } + } +} + +enum Unstressed: Codable { + case bool(Bool) + case nullMap([String: JSONNull?]) + case string(String) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(String.self) { + self = .string(x) + return + } + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + throw DecodingError.typeMismatch(Unstressed.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unstressed")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + case .string(let x): + try container.encode(x) + } + } +} + +enum Untasked: Codable { + case double(Double) + case integerMap([String: Int]) + case nullArray([JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Untasked.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Untasked")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .double(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + } + } +} + +enum Unvarying: Codable { + case bool(Bool) + case double(Double) + case integerMap([String: Int]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode(Double.self) { + self = .double(x) + return + } + if let x = try? container.decode([String: Int].self) { + self = .integerMap(x) + return + } + throw DecodingError.typeMismatch(Unvarying.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Unvarying")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .double(let x): + try container.encode(x) + case .integerMap(let x): + try container.encode(x) + } + } +} + +enum Vehemently: Codable { + case bool(Bool) + case nullArray([JSONNull?]) + case null + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode(Bool.self) { + self = .bool(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + if container.decodeNil() { + self = .null + return + } + throw DecodingError.typeMismatch(Vehemently.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Vehemently")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .bool(let x): + try container.encode(x) + case .nullArray(let x): + try container.encode(x) + case .null: + try container.encodeNil() + } + } +} + +enum Wrothy: Codable { + case nullArray([JSONNull?]) + case nullMap([String: JSONNull?]) + + init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let x = try? container.decode([String: JSONNull?].self) { + self = .nullMap(x) + return + } + if let x = try? container.decode([JSONNull?].self) { + self = .nullArray(x) + return + } + throw DecodingError.typeMismatch(Wrothy.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for Wrothy")) + } + + func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .nullArray(let x): + try container.encode(x) + case .nullMap(let x): + try container.encode(x) + } + } +} + +// MARK: Convenience initializers + +extension TopLevel { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(TopLevel.self, from: data) + self.init(abranchiata: me.abranchiata, academe: me.academe, acquirable: me.acquirable, aerometry: me.aerometry, alexin: me.alexin, alleviate: me.alleviate, amaas: me.amaas, ambassage: me.ambassage, amphithyron: me.amphithyron, andriana: me.andriana, ankee: me.ankee, annihilator: me.annihilator, annulose: me.annulose, ansarie: me.ansarie, aphasia: me.aphasia, asprawl: me.asprawl, attractive: me.attractive, barksome: me.barksome, bedesman: me.bedesman, belard: me.belard, bocking: me.bocking, brawlingly: me.brawlingly, brookie: me.brookie, bumboatman: me.bumboatman, bystreet: me.bystreet, calaverite: me.calaverite, catallactic: me.catallactic, cemental: me.cemental, centrodesmose: me.centrodesmose, cerograph: me.cerograph, chemotherapeutics: me.chemotherapeutics, chytridiaceae: me.chytridiaceae, cimelia: me.cimelia, citrated: me.citrated, clinodome: me.clinodome, coadjust: me.coadjust, consilience: me.consilience, constructor: me.constructor, continuative: me.continuative, credulity: me.credulity, creviced: me.creviced, cubiculum: me.cubiculum, deruralize: me.deruralize, diaereses: me.diaereses, discordia: me.discordia, dissolution: me.dissolution, downstroke: me.downstroke, electrotautomerism: me.electrotautomerism, eleutheromania: me.eleutheromania, encrust: me.encrust, endomyces: me.endomyces, entomoid: me.entomoid, epinephelidae: me.epinephelidae, epipaleolithic: me.epipaleolithic, eupatorium: me.eupatorium, expropriable: me.expropriable, faggingly: me.faggingly, fenks: me.fenks, flagmaking: me.flagmaking, fluorometer: me.fluorometer, fulsome: me.fulsome, fuzzy: me.fuzzy, gardenwards: me.gardenwards, generalissimo: me.generalissimo, gryphosaurus: me.gryphosaurus, habeas: me.habeas, hemicrystalline: me.hemicrystalline, hemocoele: me.hemocoele, hoister: me.hoister, hyperpiesis: me.hyperpiesis, hyppish: me.hyppish, idealizer: me.idealizer, incrustator: me.incrustator, intentiveness: me.intentiveness, interacinar: me.interacinar, intercorrelation: me.intercorrelation, jacutinga: me.jacutinga, juror: me.juror, kongoni: me.kongoni, koryak: me.koryak, ladronism: me.ladronism, landlubberly: me.landlubberly, lavinia: me.lavinia, listener: me.listener, lupus: me.lupus, maslin: me.maslin, monazite: me.monazite, monoliteral: me.monoliteral, monotheistically: me.monotheistically, montage: me.montage, moralness: me.moralness, mowra: me.mowra, mulishly: me.mulishly, myoscope: me.myoscope, nach: me.nach, neuromastic: me.neuromastic, noncontributing: me.noncontributing, nonnervous: me.nonnervous, nonvaluation: me.nonvaluation, occupationalist: me.occupationalist, oskar: me.oskar, outrival: me.outrival, paleographically: me.paleographically, pamphletwise: me.pamphletwise, pediatrics: me.pediatrics, perceptive: me.perceptive, piaculum: me.piaculum, piccadilly: me.piccadilly, piffler: me.piffler, pithful: me.pithful, placuntitis: me.placuntitis, plectopterous: me.plectopterous, pneumocele: me.pneumocele, poliorcetic: me.poliorcetic, poormaster: me.poormaster, potwhisky: me.potwhisky, practicalizer: me.practicalizer, prefreshman: me.prefreshman, prehensility: me.prehensility, prevoidance: me.prevoidance, probant: me.probant, protext: me.protext, protrusive: me.protrusive, pulpitism: me.pulpitism, pyodermia: me.pyodermia, quebrachine: me.quebrachine, querier: me.querier, rebarbative: me.rebarbative, rebecca: me.rebecca, reimagine: me.reimagine, ressaut: me.ressaut, retrocervical: me.retrocervical, revert: me.revert, rewrite: me.rewrite, rhomboganoidei: me.rhomboganoidei, rigsmal: me.rigsmal, ruellia: me.ruellia, saccoderm: me.saccoderm, santir: me.santir, saprophilous: me.saprophilous, saxten: me.saxten, scatty: me.scatty, school: me.school, scoffer: me.scoffer, scrampum: me.scrampum, semantic: me.semantic, serpentinic: me.serpentinic, shadowable: me.shadowable, shakespearolater: me.shakespearolater, sistering: me.sistering, staghunting: me.staghunting, stagmometer: me.stagmometer, stimulability: me.stimulability, strangleable: me.strangleable, strenuosity: me.strenuosity, svan: me.svan, tabaxir: me.tabaxir, talpiform: me.talpiform, thwack: me.thwack, to: me.to, tortricine: me.tortricine, truantcy: me.truantcy, turgesce: me.turgesce, unbeginning: me.unbeginning, underdunged: me.underdunged, undesirability: me.undesirability, unerasing: me.unerasing, unguentarium: me.unguentarium, unimpeachably: me.unimpeachably, unmortgaged: me.unmortgaged, unobstructed: me.unobstructed, unreceptivity: me.unreceptivity, unsatisfactoriness: me.unsatisfactoriness, unsecurity: me.unsecurity, unstressed: me.unstressed, untasked: me.untasked, unvarying: me.unvarying, vehemently: me.vehemently, warriorship: me.warriorship, wayao: me.wayao, whitepot: me.whitepot, wrothy: me.wrothy) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension RebeccaClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(RebeccaClass.self, from: data) + self.init(catharticalness: me.catharticalness, chirotherium: me.chirotherium, disdiapason: me.disdiapason, homocerc: me.homocerc, nonbookish: me.nonbookish) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension Amphithyron { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(Amphithyron.self, from: data) + self.init(akroasis: me.akroasis, antiphonical: me.antiphonical, basebred: me.basebred, catharticalness: me.catharticalness, chirotherium: me.chirotherium, conductometric: me.conductometric, disdiapason: me.disdiapason, ensilation: me.ensilation, eyebolt: me.eyebolt, fistulated: me.fistulated, heteropod: me.heteropod, homocerc: me.homocerc, juniperus: me.juniperus, labyrinthically: me.labyrinthically, martyrization: me.martyrization, mispolicy: me.mispolicy, multipara: me.multipara, nazirite: me.nazirite, nonbookish: me.nonbookish, possessorial: me.possessorial, shamed: me.shamed, shelfworn: me.shelfworn, stagnum: me.stagnum, those: me.those, undecimal: me.undecimal) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension ChemotherapeuticClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(ChemotherapeuticClass.self, from: data) + self.init(angioneurotic: me.angioneurotic, availment: me.availment, bladelet: me.bladelet, catharticalness: me.catharticalness, caulis: me.caulis, chalcus: me.chalcus, chirotherium: me.chirotherium, disdiapason: me.disdiapason, enteradenological: me.enteradenological, homocerc: me.homocerc, imporosity: me.imporosity, insistently: me.insistently, intraparietal: me.intraparietal, ivied: me.ivied, maureen: me.maureen, nonbookish: me.nonbookish, nostochine: me.nostochine, nutcracker: me.nutcracker, ofttimes: me.ofttimes, phenocryst: me.phenocryst, precoincident: me.precoincident, ramiferous: me.ramiferous, stagmometer: me.stagmometer, tetherball: me.tetherball, unshy: me.unshy) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension CoadjustClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(CoadjustClass.self, from: data) + self.init(amidosulphonal: me.amidosulphonal, benny: me.benny, catharticalness: me.catharticalness, chirotherium: me.chirotherium, disdiapason: me.disdiapason, ensnare: me.ensnare, homocerc: me.homocerc, hybridizer: me.hybridizer, leastwise: me.leastwise, lof: me.lof, monkhood: me.monkhood, netherlandish: me.netherlandish, nonbookish: me.nonbookish, peonism: me.peonism, phonelescope: me.phonelescope, porphyrogeniture: me.porphyrogeniture, preindemnify: me.preindemnify, rosal: me.rosal, scalenous: me.scalenous, scopine: me.scopine, sedaceae: me.sedaceae, suberinize: me.suberinize, symbiot: me.symbiot, tablefellow: me.tablefellow, unchargeable: me.unchargeable) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension DiscordiaClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(DiscordiaClass.self, from: data) + self.init(altaic: me.altaic, amoristic: me.amoristic, blennophthalmia: me.blennophthalmia, catharticalness: me.catharticalness, chirotherium: me.chirotherium, disciplinability: me.disciplinability, disdiapason: me.disdiapason, goofer: me.goofer, homocerc: me.homocerc, laryngograph: me.laryngograph, leucitis: me.leucitis, lymphocyst: me.lymphocyst, microcosmology: me.microcosmology, nauseation: me.nauseation, nonbookish: me.nonbookish, patarin: me.patarin, preliberal: me.preliberal, prettifier: me.prettifier, rangework: me.rangework, redient: me.redient, subfusiform: me.subfusiform, suicidical: me.suicidical, swow: me.swow, wastrel: me.wastrel, wingle: me.wingle) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension HemocoeleClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(HemocoeleClass.self, from: data) + self.init(acrogamy: me.acrogamy, amelification: me.amelification, autobiographic: me.autobiographic, berat: me.berat, catharticalness: me.catharticalness, chirotherium: me.chirotherium, disdiapason: me.disdiapason, disproportionably: me.disproportionably, erythrite: me.erythrite, graphic: me.graphic, hepatological: me.hepatological, homocerc: me.homocerc, incommensurably: me.incommensurably, misaffirm: me.misaffirm, nonbookish: me.nonbookish, pocketbook: me.pocketbook, sclerometric: me.sclerometric, stambouline: me.stambouline, stickpin: me.stickpin, tubulure: me.tubulure, undelated: me.undelated, unsalt: me.unsalt, untutelar: me.untutelar, vagrant: me.vagrant, walt: me.walt) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension Interacinar { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(Interacinar.self, from: data) + self.init(assapan: me.assapan, benefactorship: me.benefactorship, triseriatim: me.triseriatim, tubbing: me.tubbing, untrimmed: me.untrimmed) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension LaviniaClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(LaviniaClass.self, from: data) + self.init(agitable: me.agitable, asininity: me.asininity, benefiter: me.benefiter, bronzelike: me.bronzelike, catharticalness: me.catharticalness, chirotherium: me.chirotherium, cholesteatomatous: me.cholesteatomatous, deprivement: me.deprivement, disdiapason: me.disdiapason, flippantness: me.flippantness, fogproof: me.fogproof, homocerc: me.homocerc, merrymeeting: me.merrymeeting, nonbookish: me.nonbookish, overcareful: me.overcareful, panaris: me.panaris, preacceptance: me.preacceptance, quinoxaline: me.quinoxaline, sig: me.sig, superconfusion: me.superconfusion, tacana: me.tacana, tillotter: me.tillotter, tranquillize: me.tranquillize, unquestionable: me.unquestionable, uproute: me.uproute) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension LupusClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(LupusClass.self, from: data) + self.init(catharticalness: me.catharticalness, chirotherium: me.chirotherium, chlorioninae: me.chlorioninae, corvinae: me.corvinae, crassina: me.crassina, disdiapason: me.disdiapason, exiguity: me.exiguity, farcist: me.farcist, holographical: me.holographical, homocerc: me.homocerc, ichthyophagan: me.ichthyophagan, implacable: me.implacable, nonbookish: me.nonbookish, outshiner: me.outshiner, overweather: me.overweather, protonegroid: me.protonegroid, shallowish: me.shallowish, snoke: me.snoke, snout: me.snout, surveillance: me.surveillance, threshingtime: me.threshingtime, thysanocarpus: me.thysanocarpus, unsignificantly: me.unsignificantly, unsnap: me.unsnap, vendible: me.vendible) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension Maslin { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(Maslin.self, from: data) + self.init(alicant: me.alicant, antiatonement: me.antiatonement, anticorrosive: me.anticorrosive, aphidozer: me.aphidozer, bakuninist: me.bakuninist, be: me.be, catharticalness: me.catharticalness, chirotherium: me.chirotherium, chub: me.chub, cuprosilicon: me.cuprosilicon, curtailedly: me.curtailedly, dellenite: me.dellenite, dimitry: me.dimitry, disdiapason: me.disdiapason, edifying: me.edifying, ethmoiditis: me.ethmoiditis, gastralgy: me.gastralgy, goatherd: me.goatherd, hammerdress: me.hammerdress, hangfire: me.hangfire, homocerc: me.homocerc, lacunosity: me.lacunosity, longiloquence: me.longiloquence, mameliere: me.mameliere, motherless: me.motherless, nonbookish: me.nonbookish, noncorrodible: me.noncorrodible, nonsensicality: me.nonsensicality, oafishly: me.oafishly, pfund: me.pfund, preadvisory: me.preadvisory, retroflexed: me.retroflexed, saccharulmic: me.saccharulmic, scowlful: me.scowlful, secluded: me.secluded, slackage: me.slackage, sphaeridial: me.sphaeridial, spondulics: me.spondulics, subsecive: me.subsecive, swellmobsman: me.swellmobsman, trachyglossate: me.trachyglossate, trialogue: me.trialogue, unassuaged: me.unassuaged, ungross: me.ungross, unjudiciously: me.unjudiciously) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension MonotheisticallyClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(MonotheisticallyClass.self, from: data) + self.init(blaspheme: me.blaspheme, catharticalness: me.catharticalness, celiosalpingectomy: me.celiosalpingectomy, chirotherium: me.chirotherium, consummativeness: me.consummativeness, disdiapason: me.disdiapason, egestive: me.egestive, enchylema: me.enchylema, gasconade: me.gasconade, holidayer: me.holidayer, homocerc: me.homocerc, intuitionalism: me.intuitionalism, lophiostomate: me.lophiostomate, nonbookish: me.nonbookish, nonvolition: me.nonvolition, palatableness: me.palatableness, pimpery: me.pimpery, previolation: me.previolation, reconveyance: me.reconveyance, registership: me.registership, rhyacolite: me.rhyacolite, smithereens: me.smithereens, superedification: me.superedification, trust: me.trust, whitestone: me.whitestone) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension Noncontributing { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(Noncontributing.self, from: data) + self.init(estevin: me.estevin, jolterhead: me.jolterhead, sauternes: me.sauternes, sparsely: me.sparsely, unrequested: me.unrequested) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension PiaculumClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(PiaculumClass.self, from: data) + self.init(alada: me.alada, amphistomous: me.amphistomous, boysenberry: me.boysenberry, catharticalness: me.catharticalness, chirotherium: me.chirotherium, decardinalize: me.decardinalize, discouragement: me.discouragement, disdiapason: me.disdiapason, doitrified: me.doitrified, hexaspermous: me.hexaspermous, homocerc: me.homocerc, insinking: me.insinking, loathfulness: me.loathfulness, miasmatical: me.miasmatical, neurofibril: me.neurofibril, nonbookish: me.nonbookish, phonendoscope: me.phonendoscope, pilferment: me.pilferment, predismissory: me.predismissory, preinscription: me.preinscription, quotative: me.quotative, sienna: me.sienna, thorax: me.thorax, yachting: me.yachting, zipper: me.zipper) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension Pneumocele { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(Pneumocele.self, from: data) + self.init(carbonarism: me.carbonarism, catharticalness: me.catharticalness, chirotherium: me.chirotherium, cineolic: me.cineolic, cobbly: me.cobbly, conchyliferous: me.conchyliferous, congregation: me.congregation, disdiapason: me.disdiapason, enterotomy: me.enterotomy, entophytal: me.entophytal, fewtrils: me.fewtrils, herem: me.herem, homocerc: me.homocerc, koniga: me.koniga, meticulosity: me.meticulosity, micky: me.micky, mismarriage: me.mismarriage, neurotrophic: me.neurotrophic, nonbookish: me.nonbookish, persuasively: me.persuasively, replaceable: me.replaceable, silex: me.silex, taillight: me.taillight, unjealous: me.unjealous, visitorial: me.visitorial) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension Reimagine { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(Reimagine.self, from: data) + self.init(adducible: me.adducible, anabolin: me.anabolin, brainy: me.brainy, catharticalness: me.catharticalness, chirotherium: me.chirotherium, chrysamine: me.chrysamine, disdiapason: me.disdiapason, fluxweed: me.fluxweed, glaucine: me.glaucine, grobianism: me.grobianism, hermo: me.hermo, hieroglyphist: me.hieroglyphist, homocerc: me.homocerc, icteroid: me.icteroid, immortal: me.immortal, impetulant: me.impetulant, irrigate: me.irrigate, myxedema: me.myxedema, nonbookish: me.nonbookish, onyx: me.onyx, repasser: me.repasser, septomarginal: me.septomarginal, subdie: me.subdie, tibiometatarsal: me.tibiometatarsal, waltzlike: me.waltzlike) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension SaxtenClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(SaxtenClass.self, from: data) + self.init(algarrobilla: me.algarrobilla, bowgrace: me.bowgrace, catharticalness: me.catharticalness, centaurid: me.centaurid, chirotherium: me.chirotherium, disdiapason: me.disdiapason, flix: me.flix, germanely: me.germanely, homocerc: me.homocerc, inhume: me.inhume, lepidote: me.lepidote, megalochirous: me.megalochirous, ninepenny: me.ninepenny, nonbookish: me.nonbookish, nondeist: me.nondeist, nymphaeaceous: me.nymphaeaceous, parietofrontal: me.parietofrontal, sancyite: me.sancyite, subjectivist: me.subjectivist, tibiad: me.tibiad, transonic: me.transonic, tripetalous: me.tripetalous, trunchman: me.trunchman, urger: me.urger, withdrawnness: me.withdrawnness) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension Staghunting { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(Staghunting.self, from: data) + self.init(calorimetric: me.calorimetric, canid: me.canid, catharticalness: me.catharticalness, chirotherium: me.chirotherium, disdiapason: me.disdiapason, ditriglyphic: me.ditriglyphic, floriferousness: me.floriferousness, gamelike: me.gamelike, grig: me.grig, homocerc: me.homocerc, interloan: me.interloan, lithotomy: me.lithotomy, loric: me.loric, membranocoriaceous: me.membranocoriaceous, membranogenic: me.membranogenic, nonbookish: me.nonbookish, overtrump: me.overtrump, scotino: me.scotino, seasonable: me.seasonable, sephen: me.sephen, stigmarioid: me.stigmarioid, tired: me.tired, trifid: me.trifid, undefeatedly: me.undefeatedly, ungirlish: me.ungirlish) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension StrenuosityClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(StrenuosityClass.self, from: data) + self.init(bliss: me.bliss, buccate: me.buccate, bulletproof: me.bulletproof, catharticalness: me.catharticalness, chirotherium: me.chirotherium, crumblingness: me.crumblingness, disdiapason: me.disdiapason, engagedly: me.engagedly, fightable: me.fightable, hoariness: me.hoariness, homocerc: me.homocerc, hypopodium: me.hypopodium, luxurist: me.luxurist, mechanician: me.mechanician, nonbookish: me.nonbookish, onopordon: me.onopordon, podgily: me.podgily, reformableness: me.reformableness, scatterbrains: me.scatterbrains, seminuria: me.seminuria, sodomite: me.sodomite, tramp: me.tramp, undueness: me.undueness, worthily: me.worthily, yankeeist: me.yankeeist) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension TruantcyClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(TruantcyClass.self, from: data) + self.init(alfiona: me.alfiona, ascaridiasis: me.ascaridiasis, bungey: me.bungey, catharticalness: me.catharticalness, ceroxyle: me.ceroxyle, chirotherium: me.chirotherium, chorology: me.chorology, disdiapason: me.disdiapason, enmarble: me.enmarble, epeira: me.epeira, eurylaimi: me.eurylaimi, germination: me.germination, hallelujah: me.hallelujah, homocerc: me.homocerc, lev: me.lev, mouthing: me.mouthing, nonbookish: me.nonbookish, philliloo: me.philliloo, planetal: me.planetal, poney: me.poney, punctualist: me.punctualist, returnlessly: me.returnlessly, skelder: me.skelder, windwaywardly: me.windwaywardly, yuman: me.yuman) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +extension UnimpeachablyClass { + convenience init?(data: Data) throws { + let me = try JSONDecoder().decode(UnimpeachablyClass.self, from: data) + self.init(acerin: me.acerin, bobadil: me.bobadil, catharticalness: me.catharticalness, chirotherium: me.chirotherium, chlorophylligenous: me.chlorophylligenous, conversational: me.conversational, demiowl: me.demiowl, disdiapason: me.disdiapason, ectorhinal: me.ectorhinal, gamblesomeness: me.gamblesomeness, homocerc: me.homocerc, irrorate: me.irrorate, kindergartening: me.kindergartening, lateritic: me.lateritic, mespil: me.mespil, misconfiguration: me.misconfiguration, nonbookish: me.nonbookish, planometry: me.planometry, quiina: me.quiina, robert: me.robert, rot: me.rot, subcinctorium: me.subcinctorium, tussocker: me.tussocker, ultraproud: me.ultraproud, unsuggestedness: me.unsuggestedness) + } + + convenience init?(_ json: String, using encoding: String.Encoding = .utf8) throws { + guard let data = json.data(using: encoding) else { return nil } + try self.init(data: data) + } + + convenience init?(fromURL url: String) throws { + guard let url = URL(string: url) else { return nil } + let data = try Data(contentsOf: url) + try self.init(data: data) + } + + func jsonData() throws -> Data { + return try JSONEncoder().encode(self) + } + + func jsonString() throws -> String? { + return String(data: try self.jsonData(), encoding: .utf8) + } +} + +// MARK: Encode/decode helpers + +class JSONNull: Codable { + public init() {} + + public required init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if !container.decodeNil() { + throw DecodingError.typeMismatch(JSONNull.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for JSONNull")) + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + try container.encodeNil() + } +} From 61eb3e5c02b9640a984463cf2d5f961de01b3d2c Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 21:48:17 -0400 Subject: [PATCH 26/37] Revert "Fix the Swift tests to reflect their new reality" This reverts commit 5a0381c370e55e30a17fea13dae4e397bca2ef23. --- test/languages.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/languages.ts b/test/languages.ts index 5b259aa8ec..0177230252 100644 --- a/test/languages.ts +++ b/test/languages.ts @@ -96,7 +96,9 @@ export const JavaLanguage: Language = { skipMiscJSON: false, skipSchema: ["keyword-unions.schema"], // generates classes with names that are case-insensitively equal rendererOptions: {}, - quickTestRendererOptions: [{ "array-type": "list" }], + quickTestRendererOptions: [ + { "array-type": "list" } + ], sourceFiles: ["src/language/Java.ts"] }; @@ -448,7 +450,7 @@ export const ElmLanguage: Language = { export const SwiftLanguage: Language = { name: "swift", base: "test/fixtures/swift", - compileCommand: `swiftc -o quicktype *.swift`, + compileCommand: `swiftc -o quicktype main.swift quicktype.swift`, runCommand(sample: string) { return `./quicktype "${sample}"`; }, @@ -490,7 +492,7 @@ export const SwiftLanguage: Language = { ], allowMissingNull: true, features: ["enum", "union", "no-defaults", "date-time"], - output: "JSONSchemaSupport.swift", + output: "quicktype.swift", topLevel: "TopLevel", skipJSON: [ // Swift only supports top-level arrays and objects From f06342deea7d498d0395ed7c406c1d490d4a5813 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 21:48:40 -0400 Subject: [PATCH 27/37] Add the new header comment to the test quicktype.swift file --- test/fixtures/swift/quicktype.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/test/fixtures/swift/quicktype.swift b/test/fixtures/swift/quicktype.swift index adfca646df..6e4742c0b5 100644 --- a/test/fixtures/swift/quicktype.swift +++ b/test/fixtures/swift/quicktype.swift @@ -1,3 +1,4 @@ +// This file was generated from JSON Schema using quicktype, do not modify it directly. // To parse the JSON, add this file to your project and do: // // guard let topLevel = try TopLevel(json) else { ... } From 44d2aa15cf4450531592311620dfbe7341d71e11 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Thu, 9 May 2019 21:48:56 -0400 Subject: [PATCH 28/37] Remove the date generated header comment --- src/quicktype-core/language/Swift.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 5bfe4ef1f2..a322c27b2a 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -443,7 +443,6 @@ export class SwiftRenderer extends ConvenienceRenderer { this.emitLineOnce( "// This file was generated from JSON Schema using quicktype, do not modify it directly." ); - this.emitLineOnce("// Generated on ", new Date().toString()); this.emitLine("// To parse the JSON, add this file to your project and do:"); this.emitLine("//"); if (this._options.convenienceInitializers && !(type instanceof EnumType)) { From dbfd27cd29f56c8c658b1e4dd3e847ca0faddf58 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Fri, 10 May 2019 09:35:14 -0400 Subject: [PATCH 29/37] Correct the URL session output --- src/quicktype-core/language/Swift.ts | 42 +++++++++++++++------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index a322c27b2a..f64a3b46c2 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -732,13 +732,6 @@ export class SwiftRenderer extends ConvenienceRenderer { } } - if (this._options.urlSession) { - this.ensureBlankLine(); - this.emitMark("URLSession response handlers", true); - this.ensureBlankLine(); - this.emitURLSessionExtension(className); - } - if (this._options.alamofire) { this.ensureBlankLine(); this.emitMark("Alamofire response handlers", true); @@ -1049,6 +1042,13 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); this.emitNewEncoderDecoder(); } + if (this._options.urlSession) { + this.ensureBlankLine(); + this.emitMark("URLSession response handlers", true); + this.ensureBlankLine(); + this.emitURLSessionExtension(); + } + // This assumes that this method is called after declarations // are emitted. if (this._needAny || this._needNull) { @@ -1380,7 +1380,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); } } - private emitURLSessionExtension(className: Name) { + private emitURLSessionExtension() { this.ensureBlankLine(); this.emitBlockWithAccess("extension URLSession", () => { this @@ -1394,18 +1394,20 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); } }`); this.ensureBlankLine(); - this.emitBlock( - [ - "func ", - modifySource(camelCase, className), - "Task(with url: URL, completionHandler: @escaping (", - className, - "?, URLResponse?, Error?) -> Void) -> URLSessionDataTask" - ], - () => { - this.emitLine(`return self.codableTask(with: url, completionHandler: completionHandler)`); - } - ); + this.forEachTopLevel("leading-and-interposing", (_, name) => { + this.emitBlock( + [ + "func ", + modifySource(camelCase, name), + "Task(with url: URL, completionHandler: @escaping (", + name, + "?, URLResponse?, Error?) -> Void) -> URLSessionDataTask" + ], + () => { + this.emitLine(`return self.codableTask(with: url, completionHandler: completionHandler)`); + } + ); + }); }); } From 2ce4243809854b8f97041b99f81f69aa4a911b76 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Fri, 10 May 2019 10:15:18 -0400 Subject: [PATCH 30/37] Repair Alamofire output and add some structure to the output file --- src/quicktype-core/language/Swift.ts | 52 +++++++++++++++------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index f64a3b46c2..3ef27ede7c 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -614,6 +614,8 @@ export class SwiftRenderer extends ConvenienceRenderer { this.renderHeader(c, className); this.emitDescription(this.descriptionForType(c)); + this.emitMark(this.sourcelikeToString(className), true); + const isClass = this._options.useClasses || this.isCycleBreakerType(c); const structOrClass = isClass ? "class" : "struct"; @@ -726,19 +728,12 @@ export class SwiftRenderer extends ConvenienceRenderer { // FIXME: We emit only the MARK line for top-level-enum.schema if (this._options.convenienceInitializers) { this.ensureBlankLine(); - this.emitMark("Convenience initializers and mutators"); + this.emitMark(this.sourcelikeToString(className) + " convenience initializers and mutators"); this.emitConvenienceInitializersExtension(c, className); this.ensureBlankLine(); } } - if (this._options.alamofire) { - this.ensureBlankLine(); - this.emitMark("Alamofire response handlers", true); - this.ensureBlankLine(); - this.emitAlamofireExtension(className); - } - this.endFile(); } @@ -1037,7 +1032,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); this._options.alamofire ) { this.ensureBlankLine(); - this.emitMark("Helper functions for creating encoders and decoders"); + this.emitMark("Helper functions for creating encoders and decoders", true); this.ensureBlankLine(); this.emitNewEncoderDecoder(); } @@ -1049,11 +1044,18 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); this.emitURLSessionExtension(); } + if (this._options.alamofire) { + this.ensureBlankLine(); + this.emitMark("Alamofire response handlers", true); + this.ensureBlankLine(); + this.emitAlamofireExtension(); + } + // This assumes that this method is called after declarations // are emitted. if (this._needAny || this._needNull) { this.ensureBlankLine(); - this.emitMark("Encode/decode helpers"); + this.emitMark("Encode/decode helpers", true); this.ensureBlankLine(); if (this._options.objcSupport) { this.emitLine(this.objcMembersDeclaration, this.accessLevel, "class JSONNull: NSObject, Codable {"); @@ -1411,7 +1413,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); }); } - private emitAlamofireExtension(className: Name) { + private emitAlamofireExtension() { this.ensureBlankLine(); this.emitBlockWithAccess("extension DataRequest", () => { this @@ -1432,19 +1434,21 @@ fileprivate func responseDecodable(queue: DispatchQueue? = nil, co return response(queue: queue, responseSerializer: decodableResponseSerializer(), completionHandler: completionHandler) }`); this.ensureBlankLine(); - this.emitLine("@discardableResult"); - this.emitBlock( - [ - "func response", - className, - "(queue: DispatchQueue? = nil, completionHandler: @escaping (DataResponse<", - className, - ">) -> Void) -> Self" - ], - () => { - this.emitLine(`return responseDecodable(queue: queue, completionHandler: completionHandler)`); - } - ); + this.forEachTopLevel("leading-and-interposing", (_, name) => { + this.emitLine("@discardableResult"); + this.emitBlock( + [ + "func response", + name, + "(queue: DispatchQueue? = nil, completionHandler: @escaping (DataResponse<", + name, + ">) -> Void) -> Self" + ], + () => { + this.emitLine(`return responseDecodable(queue: queue, completionHandler: completionHandler)`); + } + ); + }); }); } } From a933eb6f255bb49aeefb0980d5327aebb7ae9e6c Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Fri, 10 May 2019 11:20:05 -0400 Subject: [PATCH 31/37] Small formatting changes --- src/quicktype-core/language/Swift.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 3ef27ede7c..5264ed2f44 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -502,10 +502,10 @@ export class SwiftRenderer extends ConvenienceRenderer { } this.ensureBlankLine(); this.emitLineOnce("import Foundation"); - this.ensureBlankLine(); if (!this._options.justTypes && this._options.alamofire) { this.emitLineOnce("import Alamofire"); } + this.ensureBlankLine(); } private renderTopLevelAlias(t: Type, name: Name): void { @@ -567,10 +567,6 @@ export class SwiftRenderer extends ConvenienceRenderer { return groups; } - protected propertyLinesDefinition(name: Name, parameter: ClassProperty): Sourcelike { - return [this.accessLevel, "let ", name, ": ", this.swiftPropertyType(parameter)]; - } - /// Access level with trailing space (e.g. "public "), or empty string private get accessLevel(): string { return this._options.accessLevel === "internal" @@ -608,6 +604,10 @@ export class SwiftRenderer extends ConvenienceRenderer { this._currentFilename = undefined; } + protected propertyLinesDefinition(name: Name, parameter: ClassProperty): Sourcelike { + return [this.accessLevel, "let ", name, ": ", this.swiftPropertyType(parameter)]; + } + private renderClassDefinition(c: ClassType, className: Name): void { this.startFile(className); From a674cb032016818cbbb6f1d3bcc0bae47387e63c Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Fri, 10 May 2019 12:09:57 -0400 Subject: [PATCH 32/37] Clean up some comments --- src/quicktype-core/language/Swift.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 5264ed2f44..68ab6d0ac0 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -1011,14 +1011,12 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); this.emitLineOnce("import Foundation"); - // TODO: [Michael Fey (@MrRooni), 2019-5-6] This can't stay here… Find where it was originally and put it back this.forEachTopLevel( "leading", (t: Type, name: Name) => this.renderTopLevelAlias(t, name), t => this.namedTypeToNameForTopLevel(t) === undefined ); - // TODO: [Michael Fey (@MrRooni), 2019-5-6] This can't stay here… Find where it was originally and put it back if (this._options.convenienceInitializers) { this.ensureBlankLine(); this.forEachTopLevel("leading-and-interposing", (t: Type, name: Name) => @@ -1364,12 +1362,6 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); } protected emitSourceStructure(): void { - // this.forEachTopLevel( - // "leading", - // (t: Type, name: Name) => this.renderTopLevelAlias(t, name), - // t => this.namedTypeToNameForTopLevel(t) === undefined - // ); - this.forEachNamedType( "leading-and-interposing", (c: ClassType, className: Name) => this.renderClassDefinition(c, className), From 23f0f9f14feb0f8df48f82b0b54ad9e9371e1388 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Fri, 10 May 2019 12:10:28 -0400 Subject: [PATCH 33/37] No need to toString() --- src/quicktype-core/Renderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quicktype-core/Renderer.ts b/src/quicktype-core/Renderer.ts index 94ed4fe1ef..73f2a4a1d3 100644 --- a/src/quicktype-core/Renderer.ts +++ b/src/quicktype-core/Renderer.ts @@ -291,7 +291,7 @@ export abstract class Renderer { } protected initializeEmitContextForFilename(filename: string): void { - if (this._finishedEmitContexts.has(filename.toLowerCase().toString())) { + if (this._finishedEmitContexts.has(filename.toLowerCase())) { const existingEmitContext = this._finishedEmitContexts.get(filename.toLowerCase()); if (existingEmitContext !== undefined) { this._emitContext = existingEmitContext; From 3248825acc7b54fcd3db27b41831be6c298066c5 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Fri, 10 May 2019 12:13:19 -0400 Subject: [PATCH 34/37] Add bug863.json to the skipped diff testing --- test/languages.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/languages.ts b/test/languages.ts index 0177230252..bf0e2d0c9c 100644 --- a/test/languages.ts +++ b/test/languages.ts @@ -96,9 +96,7 @@ export const JavaLanguage: Language = { skipMiscJSON: false, skipSchema: ["keyword-unions.schema"], // generates classes with names that are case-insensitively equal rendererOptions: {}, - quickTestRendererOptions: [ - { "array-type": "list" } - ], + quickTestRendererOptions: [{ "array-type": "list" }], sourceFiles: ["src/language/Java.ts"] }; @@ -488,7 +486,8 @@ export const SwiftLanguage: Language = { "e8b04.json", "f6a65.json", // date-time issues "fcca3.json", - "f82d9.json" + "f82d9.json", + "bug863.json" // Unable to resolve reserved keyword use, "description" ], allowMissingNull: true, features: ["enum", "union", "no-defaults", "date-time"], From 5adeb2f55911248dcaa118d5b1e2265dd72556cb Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Fri, 17 May 2019 16:00:01 -0400 Subject: [PATCH 35/37] In single-file mode output all the comments to the top of the single file --- src/quicktype-core/language/Swift.ts | 60 +++++++++++++++++++++------- 1 file changed, 46 insertions(+), 14 deletions(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index da4db43919..10423056e0 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -438,27 +438,55 @@ export class SwiftRenderer extends ConvenienceRenderer { return null; } - private renderHeader(type: Type, name: Name): void { - if (this.leadingComments !== undefined) { - this.emitCommentLines(this.leadingComments); - } else if (!this._options.justTypes) { - this.emitLineOnce( - "// This file was generated from JSON Schema using quicktype, do not modify it directly." - ); - this.emitLine("// To parse the JSON, add this file to your project and do:"); - this.emitLine("//"); - if (this._options.convenienceInitializers && !(type instanceof EnumType)) { - this.emitLine("// let ", modifySource(camelCase, name), " = try ", name, "(json)"); + private renderSingleFileHeaderComments(): void { + this.emitLineOnce("// This file was generated from JSON Schema using quicktype, do not modify it directly."); + this.emitLineOnce("// To parse the JSON, add this file to your project and do:"); + this.emitLineOnce("//"); + this.forEachTopLevel("none", (t, topLevelName) => { + if (this._options.convenienceInitializers && !(t instanceof EnumType)) { + this.emitLineOnce( + "// let ", + modifySource(camelCase, topLevelName), + " = try ", + topLevelName, + "(json)" + ); } else { - this.emitLine( + this.emitLineOnce( "// let ", - modifySource(camelCase, name), + modifySource(camelCase, topLevelName), " = ", "try? newJSONDecoder().decode(", - name, + topLevelName, ".self, from: jsonData)" ); } + }); + } + + private renderHeader(type: Type, name: Name): void { + if (this.leadingComments !== undefined) { + this.emitCommentLines(this.leadingComments); + } else if (!this._options.justTypes) { + if (this._options.multiFileOutput) { + this.emitLineOnce( + "// This file was generated from JSON Schema using quicktype, do not modify it directly." + ); + this.emitLineOnce("// To parse the JSON, add this file to your project and do:"); + this.emitLineOnce("//"); + if (this._options.convenienceInitializers && !(type instanceof EnumType)) { + this.emitLine("// let ", modifySource(camelCase, name), " = try ", name, "(json)"); + } else { + this.emitLine( + "// let ", + modifySource(camelCase, name), + " = ", + "try? newJSONDecoder().decode(", + name, + ".self, from: jsonData)" + ); + } + } if (this._options.urlSession) { this.emitLine("//"); @@ -1364,6 +1392,10 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); } protected emitSourceStructure(): void { + if (this._options.multiFileOutput == false) { + this.renderSingleFileHeaderComments(); + } + this.forEachNamedType( "leading-and-interposing", (c: ClassType, className: Name) => this.renderClassDefinition(c, className), From af0b72f482c3c22e3568dd7e1d8be17f25f265ad Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Sat, 18 May 2019 07:40:54 -0400 Subject: [PATCH 36/37] Minor formatting change --- src/quicktype-core/language/Swift.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index 10423056e0..dd7869c82b 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -759,6 +759,7 @@ export class SwiftRenderer extends ConvenienceRenderer { if (this._options.convenienceInitializers) { this.ensureBlankLine(); this.emitMark(this.sourcelikeToString(className) + " convenience initializers and mutators"); + this.ensureBlankLine(); this.emitConvenienceInitializersExtension(c, className); this.ensureBlankLine(); } From 4c7f291f005e83e3f61b13f0d39d755079f35bc4 Mon Sep 17 00:00:00 2001 From: Michael Fey Date: Sat, 18 May 2019 08:38:41 -0400 Subject: [PATCH 37/37] === not == --- src/quicktype-core/language/Swift.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quicktype-core/language/Swift.ts b/src/quicktype-core/language/Swift.ts index dd7869c82b..878a116686 100644 --- a/src/quicktype-core/language/Swift.ts +++ b/src/quicktype-core/language/Swift.ts @@ -1393,7 +1393,7 @@ encoder.dateEncodingStrategy = .formatted(formatter)`); } protected emitSourceStructure(): void { - if (this._options.multiFileOutput == false) { + if (this._options.multiFileOutput === false) { this.renderSingleFileHeaderComments(); }