diff --git a/.changesets/1795431518-150ae894.yaml b/.changesets/1795431518-150ae894.yaml new file mode 100644 index 000000000..046efa5a1 --- /dev/null +++ b/.changesets/1795431518-150ae894.yaml @@ -0,0 +1,12 @@ +id: 1795431518-150ae894 +features: + - enums +targets: + - go + - cli + - terraform +type: feat +bump: patch +description: add Values helpers that list every known value of a generated Go enum +author: AshGodfrey +date: "2026-11-23" diff --git a/internal/features/tests.go b/internal/features/tests.go index 8ba78900f..a8ed6cf7c 100644 --- a/internal/features/tests.go +++ b/internal/features/tests.go @@ -69,6 +69,7 @@ const ( TestCustomCodeRegionSdkMethodWithImports TestCustomCodeRegionSubSdkMethodWithImports TestCustomCodeRegionModelMethodWithImports + TestEnumValues TestFlatteningComponentBodyAndParamNoConflict TestFlatteningComponentBodyAndParamNoConflictFlattenRequests TestFlatteningComponentBodyAndParamConflict diff --git a/internal/features/tests_generated.go b/internal/features/tests_generated.go index dcb77b9a7..a8de2d1f5 100644 --- a/internal/features/tests_generated.go +++ b/internal/features/tests_generated.go @@ -202,6 +202,8 @@ func (t Test) String() string { return "duplicate-query-parameter-at-operation-level-does-not-error" case TestDuplicateQueryParameterAtPathLevelDoesNotError: return "duplicate-query-parameter-at-path-level-does-not-error" + case TestEnumValues: + return "enum-values" case TestErrorTaxonomyDeclaredRulesAndOrdering: return "error-taxonomy-declared-rules-and-ordering" case TestErrorTaxonomyEveryClosedTypeHasAHint: @@ -1762,6 +1764,8 @@ func TestFromString(s string) Test { return TestDuplicateQueryParameterAtOperationLevelDoesNotError case "duplicate-query-parameter-at-path-level-does-not-error": return TestDuplicateQueryParameterAtPathLevelDoesNotError + case "enum-values": + return TestEnumValues case "error-taxonomy-declared-rules-and-ordering": return TestErrorTaxonomyDeclaredRulesAndOrdering case "error-taxonomy-every-closed-type-has-a-hint": @@ -3222,6 +3226,7 @@ var testList = []Test{ TestDuplicatePathParameterAtPathLevelDoesNotError, TestDuplicateQueryParameterAtOperationLevelDoesNotError, TestDuplicateQueryParameterAtPathLevelDoesNotError, + TestEnumValues, TestErrorTaxonomyDeclaredRulesAndOrdering, TestErrorTaxonomyEveryClosedTypeHasAHint, TestErrorTaxonomyFallbackMessageOmitsRawBody, diff --git a/pkg/generate/snapshots/error_message_field_access_go_test.go b/pkg/generate/snapshots/error_message_field_access_go_test.go index 3aecb0410..871810320 100644 --- a/pkg/generate/snapshots/error_message_field_access_go_test.go +++ b/pkg/generate/snapshots/error_message_field_access_go_test.go @@ -146,6 +146,13 @@ const ( func (e KindRejection) ToPointer() *KindRejection { return &e } + +// KindRejectionValues returns every known KindRejection value in schema order. +func KindRejectionValues() []KindRejection { + return []KindRejection{ + KindRejectionRejection, + } +} func (e *KindRejection) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -199,6 +206,13 @@ const ( func (e KindFailure) ToPointer() *KindFailure { return &e } + +// KindFailureValues returns every known KindFailure value in schema order. +func KindFailureValues() []KindFailure { + return []KindFailure{ + KindFailureFailure, + } +} func (e *KindFailure) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/templates/templates/cli/features.ts b/templates/templates/cli/features.ts index e7b1fc424..5fd575ba2 100644 --- a/templates/templates/cli/features.ts +++ b/templates/templates/cli/features.ts @@ -375,6 +375,7 @@ function isTestSkipped(test: string): boolean { "request-bodies-base64-file-input-raw-bytes", "parameters-header-params-enum", "parameters-header-params-string-formats", + "enum-values", ].includes(test); } diff --git a/templates/templates/csharp/features.ts b/templates/templates/csharp/features.ts index 7af92a3fc..3589236d1 100644 --- a/templates/templates/csharp/features.ts +++ b/templates/templates/csharp/features.ts @@ -443,6 +443,7 @@ function isTestSkipped(test: string): boolean { "request-bodies-base64-file-input-raw-bytes", "parameters-header-params-enum", "parameters-header-params-string-formats", + "enum-values", ].includes(test); } diff --git a/templates/templates/go/enum.go.stmpl b/templates/templates/go/enum.go.stmpl index 06877b14b..71eb12e15 100644 --- a/templates/templates/go/enum.go.stmpl +++ b/templates/templates/go/enum.go.stmpl @@ -14,6 +14,14 @@ func (e {{$enumType}}) ToPointer() *{{$enumType}} { return &e } +{{- $valuesFunc := templateEnumValuesFuncName .Local.Type $enumType }} +// {{$valuesFunc}} returns every known {{$enumType}} value in schema order. +func {{$valuesFunc}}() []{{$enumType}} { + return []{{$enumType}}{ + {{templateEnumValueNames .Local.Type}} + } +} + {{- if $enum.Open }} // IsExact returns true if the value matches a known enum value, false otherwise. func (e *{{$enumType}}) IsExact() bool { diff --git a/templates/templates/go/includes/enums.ts b/templates/templates/go/includes/enums.ts index c0b14e5f7..9a010bb55 100644 --- a/templates/templates/go/includes/enums.ts +++ b/templates/templates/go/includes/enums.ts @@ -26,6 +26,150 @@ function templateEnums(typeDef: TypeDef): string { registerTemplateFunc("templateEnums", templateEnums); +// @ts-ignore +function templateEnumValueNames(typeDef: TypeDef): string { + return getEnumNames(typeDef) + .map((name) => `${name},`) + .join("\n"); +} + +registerTemplateFunc("templateEnumValueNames", templateEnumValueNames); + +type PackageIdentifiers = { + taken: Set; + helpers: Map; +}; + +function allocateEnumValuesFuncName( + enumType: string, + taken: Set, +): string { + let name = `${enumType}Values`; + if (taken.has(name)) { + name = `${enumType}EnumValues`; + for (let i = 2; taken.has(name); i++) { + name = `${enumType}EnumValues${i}`; + } + } + taken.add(name); + return name; +} + +function unionPackageIdentifiers( + union: TypeDef, + className: string, + outputLocation: string, +): string[] { + const unionType = getUnionTypeName(className, outputLocation); + const variants: string[] = []; + const typeConstants: string[] = []; + if (union.Discriminator) { + for (const mapping of union.Discriminator.Mapping) { + variants.push(sanitizeClassName(getDiscriminatorDisplayName(mapping))); + } + typeConstants.push( + ...getUnionEnumNamesFromDiscriminator( + unionType, + union.Discriminator.Mapping, + outputLocation, + ), + ); + } else { + for (const assocType of union.AssociatedTypes) { + variants.push(sanitizeClassName(sanitizeUnionTypeName(assocType))); + } + typeConstants.push( + ...getUnionEnumNamesFromAssociatedTypes( + unionType, + union.AssociatedTypes, + outputLocation, + ), + ); + } + if (union.IsUnionOpen) { + variants.push("Unknown"); + typeConstants.push(openUnionUnknownEnumName(unionType)); + } + const names = [unionType, `New${className}`, ...typeConstants]; + for (const v of variants) { + names.push(`New${className}${v}`, `Create${className}${v}`); + } + return names; +} + +function packageIdentifiers(outputLocation: string): PackageIdentifiers { + if (!context.GlobalComputed) { + context.GlobalComputed = {}; + } + if (!context.GlobalComputed._packageIdentifiers) { + const byLocation = new Map(); + for (const [location, models] of sequencedMapEntries( + context.Global.AST.BucketedTypes, + )) { + const ids: PackageIdentifiers = { taken: new Set(), helpers: new Map() }; + const enums: string[] = []; + for (const [model, types] of sequencedMapEntries(models)) { + if ( + types.length == 0 || + types.some((t) => t.Scope.toString() == "operations") + ) { + const servers = context.Global.AST.OperationServers.Get(model)[0]; + if (servers) { + const modelName = sanitizeFieldName(model); + ids.taken.add(`${modelName}ServerList`); + if (servers.ServerMap) { + for (const s of servers.Servers) { + ids.taken.add(templateConstName(s.ID, `${modelName}Server`)); + } + } + } + } + for (const t of types) { + const name = sanitizeClass(t, location, true, false); + ids.taken.add(name); + if (t.Type.toString() == "union") { + unionPackageIdentifiers(t, name, location).forEach((n) => + ids.taken.add(n), + ); + } + if (t.Type.toString() == "enum" && t.Enum) { + getEnumNames(t).forEach((c) => ids.taken.add(c)); + enums.push(name); + } + } + } + for (const name of enums.sort()) { + ids.helpers.set(name, allocateEnumValuesFuncName(name, ids.taken)); + } + byLocation.set(location, ids); + } + context.GlobalComputed._packageIdentifiers = byLocation; + } + let ids = context.GlobalComputed._packageIdentifiers.get(outputLocation); + if (!ids) { + ids = { taken: new Set(), helpers: new Map() }; + context.GlobalComputed._packageIdentifiers.set(outputLocation, ids); + } + return ids; +} + +// @ts-ignore +function templateEnumValuesFuncName( + typeDef: TypeDef, + enumType: string, +): string { + const ids = packageIdentifiers(typeDef.OutputLocation); + let name = ids.helpers.get(enumType); + if (!name) { + getEnumNames(typeDef).forEach((c) => ids.taken.add(c)); + name = allocateEnumValuesFuncName(enumType, ids.taken); + ids.helpers.set(enumType, name); + } + return name; +} + +registerTemplateFunc("templateEnumValuesFuncName", templateEnumValuesFuncName); + function formatGoEnumDescriptionComments( enumName: string, description: string, diff --git a/templates/templates/go/tests/primary/enums_additional_test.go.stmpl b/templates/templates/go/tests/primary/enums_additional_test.go.stmpl index 7e115cae1..055cd069a 100644 --- a/templates/templates/go/tests/primary/enums_additional_test.go.stmpl +++ b/templates/templates/go/tests/primary/enums_additional_test.go.stmpl @@ -50,3 +50,34 @@ func TestOpenEnumsRoundTrip(t *testing.T) { wantHeroWidth = shared.HeroWidth(2160) require.Equal(t, &wantHeroWidth, roundTripTheme.HeroWidth) } + +func TestEnumValues(t *testing.T) { + recordTest("enum-values") + + require.Equal(t, []shared.PrototypeMemberNameEnum{ + shared.PrototypeMemberNameEnumStandard, + shared.PrototypeMemberNameEnumConstructor, + shared.PrototypeMemberNameEnumToString, + shared.PrototypeMemberNameEnumValueOf, + shared.PrototypeMemberNameEnumHasOwnProperty, + }, shared.PrototypeMemberNameEnumValues()) + + require.Equal(t, []shared.ValuesMemberEnum{shared.ValuesMemberEnumValues, shared.ValuesMemberEnumCount}, shared.ValuesMemberEnumEnumValues()) + require.Equal(t, []shared.Priority{shared.PriorityLow, shared.PriorityHigh}, shared.PriorityEnumValues()) + require.Equal(t, []shared.PriorityEnum{shared.PriorityEnumUrgent, shared.PriorityEnumNormal}, shared.PriorityEnumEnumValues()) + + require.Equal(t, []shared.HeroWidth{480, 720, 1080}, shared.HeroWidthValues()) + + colors := shared.ColorValues() + require.Equal(t, []shared.Color{ + shared.ColorRed, + shared.ColorGreen, + shared.ColorBlue, + shared.ColorReturn, + shared.ColorClass, + shared.ColorInt, + }, colors) + for _, c := range colors { + require.True(t, c.IsExact(), "ColorValues returned %q, which IsExact rejects", c) + } +} diff --git a/templates/templates/javav2/features.ts b/templates/templates/javav2/features.ts index 1a67a21f7..b9bfea265 100644 --- a/templates/templates/javav2/features.ts +++ b/templates/templates/javav2/features.ts @@ -495,6 +495,7 @@ function isTestSkipped(test: string): boolean { "request-bodies-base64-file-input-raw-bytes", "parameters-header-params-enum", "parameters-header-params-string-formats", + "enum-values", ].includes(test); } diff --git a/templates/templates/mcp-typescript/features.ts b/templates/templates/mcp-typescript/features.ts index a3bb7b0cd..3d9100232 100644 --- a/templates/templates/mcp-typescript/features.ts +++ b/templates/templates/mcp-typescript/features.ts @@ -706,6 +706,7 @@ function isTestSkipped(test: string): boolean { "request-bodies-base64-file-input-raw-bytes", "parameters-header-params-enum", "parameters-header-params-string-formats", + "enum-values", ].includes(test); } diff --git a/templates/templates/php/features.ts b/templates/templates/php/features.ts index 584b86bea..efc4e83d8 100644 --- a/templates/templates/php/features.ts +++ b/templates/templates/php/features.ts @@ -589,6 +589,7 @@ function isTestSkipped(test: string): boolean { "unions-body-variant-overloads-nested-union", "unions-body-variant-overloads-open-enum", "request-bodies-base64-file-input-raw-bytes", + "enum-values", ].includes(test); } diff --git a/templates/templates/pythonv2/features.ts b/templates/templates/pythonv2/features.ts index 0ef918c19..2c4694c40 100644 --- a/templates/templates/pythonv2/features.ts +++ b/templates/templates/pythonv2/features.ts @@ -448,6 +448,7 @@ function isTestSkipped(test: string): boolean { "unions-body-variant-overloads-open-enum", "parameters-header-params-enum", "parameters-header-params-string-formats", + "enum-values", ].includes(test); } diff --git a/templates/templates/ruby/features.ts b/templates/templates/ruby/features.ts index 444f6bb3a..f2d8840ac 100644 --- a/templates/templates/ruby/features.ts +++ b/templates/templates/ruby/features.ts @@ -495,6 +495,7 @@ function isTestSkipped(test: string): boolean { "request-bodies-base64-file-input-raw-bytes", "parameters-header-params-enum", "parameters-header-params-string-formats", + "enum-values", ].includes(test); } diff --git a/templates/templates/typescriptv2/features.ts b/templates/templates/typescriptv2/features.ts index 6f6f92143..ba9d9c903 100644 --- a/templates/templates/typescriptv2/features.ts +++ b/templates/templates/typescriptv2/features.ts @@ -441,6 +441,7 @@ function isTestSkipped(test: string): boolean { "request-bodies-base64-file-input-raw-bytes", "parameters-header-params-enum", "parameters-header-params-string-formats", + "enum-values", ].includes(test); } diff --git a/templates/templates/unity/features.ts b/templates/templates/unity/features.ts index 95d8c737d..5737ca5fd 100644 --- a/templates/templates/unity/features.ts +++ b/templates/templates/unity/features.ts @@ -616,6 +616,7 @@ function isTestSkipped(test: string): boolean { "request-bodies-base64-file-input-raw-bytes", "parameters-header-params-enum", "parameters-header-params-string-formats", + "enum-values", ].includes(test); } diff --git a/tests/specs/fragments/primary/enum-values-member-collision.yaml b/tests/specs/fragments/primary/enum-values-member-collision.yaml new file mode 100644 index 000000000..11509e12f --- /dev/null +++ b/tests/specs/fragments/primary/enum-values-member-collision.yaml @@ -0,0 +1,70 @@ +openapi: 3.1.0 +security: + - apiKeyAuth: [] + - oauth2: [] + - clientCredentials: [read, write] + - customSchemeAppId: [] + - basicHttp: [] + - accessToken: [] + - {} +paths: + /primary/enum-values-member-collision: + post: + operationId: primaryEnumValuesMemberCollision + description: >- + Exercises enums whose per-member-list helper identifier would collide + with another identifier in the same package. ValuesMemberEnum has a + member literally named "values", so the helper must not collide with + the member constant derived from that name. Priority and PriorityEnum + sit next to an object schema named PriorityValues, so the helper for + Priority has to move and must not then land on the helper for + PriorityEnum. The enums are only used in the request so they render as + closed enums regardless of the configured forward-compatibility + default. + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/ValuesMemberSelection" + responses: + "204": + description: Accepted with no content. +components: + schemas: + ValuesMemberSelection: + type: object + required: + - aggregation + properties: + aggregation: + $ref: "#/components/schemas/ValuesMemberEnum" + priority: + $ref: "#/components/schemas/Priority" + priorityEnum: + $ref: "#/components/schemas/PriorityEnum" + priorityValues: + $ref: "#/components/schemas/PriorityValues" + ValuesMemberEnum: + x-speakeasy-unknown-values: disallow + type: string + enum: + - values + - count + Priority: + x-speakeasy-unknown-values: disallow + type: string + enum: + - low + - high + PriorityEnum: + x-speakeasy-unknown-values: disallow + type: string + enum: + - urgent + - normal + PriorityValues: + type: object + properties: + count: + type: integer diff --git a/zSDKs/sdk-cli/.speakeasy/gen.lock b/zSDKs/sdk-cli/.speakeasy/gen.lock index ab5cf9ff3..d654ae834 100644 --- a/zSDKs/sdk-cli/.speakeasy/gen.lock +++ b/zSDKs/sdk-cli/.speakeasy/gen.lock @@ -324,7 +324,7 @@ trackedFiles: internal/sdk/models/bar/petowner.go: last_write_checksum: sha1:3a8ba525d86e56bb19c39a54a7d693abe6423422 internal/sdk/models/bar/petstatus.go: - last_write_checksum: sha1:f7d8754aaba839f8fbb4bbdb45dc4f1a3fae363b + last_write_checksum: sha1:a5d527b8df8301fc7d5ff07e88d601105bde467f internal/sdk/models/bar/vehicle.go: last_write_checksum: sha1:b931c98d645228761d4ff89cd196f0e724e1656d internal/sdk/models/baz/namespaced.go: @@ -342,7 +342,7 @@ trackedFiles: internal/sdk/models/components/assetoutputstep.go: last_write_checksum: sha1:534edf8613535538eb2ff7d9181b7c10dcdd76ce internal/sdk/models/components/assetresult.go: - last_write_checksum: sha1:035cf585bbea5d56c530cff66e02fb84d8e77210 + last_write_checksum: sha1:be9d8650dc87c155930b2484f4a995729f6364e5 internal/sdk/models/components/assettextblock.go: last_write_checksum: sha1:1951f911e13c8760a2f73a64dc5db40538dd5efe internal/sdk/models/components/badrequestresponseerror.go: @@ -360,21 +360,21 @@ trackedFiles: internal/sdk/models/components/circularunion.go: last_write_checksum: sha1:b2d9049a3da7906ee488b6a0aed8750b3d7ff77f internal/sdk/models/components/color.go: - last_write_checksum: sha1:2fbf3e966c6958f476599a33026428f51d3b280f + last_write_checksum: sha1:0b377336d2609b15888ed558c84734e6175af2ab internal/sdk/models/components/disriminatedunionwithonemember.go: last_write_checksum: sha1:8a8ca37ce34fb78b59fe842d923c8740e0fbf12f internal/sdk/models/components/enum.go: - last_write_checksum: sha1:a1b661aef3f7c713e1aa34a1e919527e9acfcbd7 + last_write_checksum: sha1:b0793f43472e15a2f77a1c8f82186e5124ea76af internal/sdk/models/components/errortype2.go: last_write_checksum: sha1:e989b87d4fd99eaca41d88dcddf335ec92072128 internal/sdk/models/components/escalation.go: last_write_checksum: sha1:c480ce518345ca70b750a47b4fb6eb311251b849 internal/sdk/models/components/exhaustiveobject.go: - last_write_checksum: sha1:2dc953b154a0a688c8c9c27ed29140baa09511cc + last_write_checksum: sha1:c964ecbb00e358b0582732e39b535bc729f70702 internal/sdk/models/components/file.go: last_write_checksum: sha1:4787a0d44b801e41b430fceace1a31f107f9afa4 internal/sdk/models/components/gender.go: - last_write_checksum: sha1:09ce773193dad52f279a7857cef4d18bc5360516 + last_write_checksum: sha1:5f74fcd31b84a7b3d0f5a39e091cc9608fbb10dd internal/sdk/models/components/httpmetadata.go: last_write_checksum: sha1:01a20fcff33179809ff9920ee431c7adabbd98f1 internal/sdk/models/components/mcppolicy.go: @@ -390,7 +390,7 @@ trackedFiles: internal/sdk/models/components/objwithrenamedproperties.go: last_write_checksum: sha1:915876836804c9bf3c41d7debe9df648ac00242d internal/sdk/models/components/oneofwithfactoredoutproperties.go: - last_write_checksum: sha1:1697e2781031a616198534098edf22fb5f42bb89 + last_write_checksum: sha1:0334e3bed6fef05271999c8652dc071dd979236b internal/sdk/models/components/policystep.go: last_write_checksum: sha1:8719c8f6893f962b51eac54a9967234250d3257f internal/sdk/models/components/rectangle.go: @@ -410,7 +410,7 @@ trackedFiles: internal/sdk/models/components/someunion.go: last_write_checksum: sha1:eca428c3f1b6df07457dceaa5c5eea5078894786 internal/sdk/models/components/taggederror1.go: - last_write_checksum: sha1:afafda28c0a6df5c91b329f2c4cd88ef0a14ca51 + last_write_checksum: sha1:49d8c71e975d32396f32baf69b9b6c5762e1fe92 internal/sdk/models/components/taggederror2.go: last_write_checksum: sha1:6a316b262cd8fe61112e6c0dcb0a9bd45352d658 internal/sdk/models/components/taskresponse.go: @@ -418,7 +418,7 @@ trackedFiles: internal/sdk/models/components/templatebracestest.go: last_write_checksum: sha1:4e65cadb9de27b8ff346edfba5356646d2105370 internal/sdk/models/components/test2request.go: - last_write_checksum: sha1:82b155b00feb1812345e72dcbe4f951ad231dc0f + last_write_checksum: sha1:e002734c43f0237038604b5682b51fef66ed4b8a internal/sdk/models/components/test2response.go: last_write_checksum: sha1:d9d9c1657793822ad1ad93e5cf32fbacd53b0658 internal/sdk/models/components/triplenamespaceconflicttest.go: @@ -430,9 +430,9 @@ trackedFiles: internal/sdk/models/foo/animal.go: last_write_checksum: sha1:bbc410ae0ce82f1a5ade3ab81b1c5525cbe59a22 internal/sdk/models/foo/cat.go: - last_write_checksum: sha1:0d441a8a2b12657876a07212c4f8869f347f7c37 + last_write_checksum: sha1:56ff1bf3ba286ec8d6c6e2b33562011d8a50a3de internal/sdk/models/foo/dog.go: - last_write_checksum: sha1:9ac2e0041990d3c0d7dde2dc379c1ce7b2e35b0f + last_write_checksum: sha1:35d801fc1f442a9132204d5f97f6131f7219aea1 internal/sdk/models/foo/organization.go: last_write_checksum: sha1:a9ab10ea8f8b81ef419ef6c86c9a7a8387bb7a2b internal/sdk/models/foo/pet.go: @@ -440,13 +440,13 @@ trackedFiles: internal/sdk/models/foo/petowner.go: last_write_checksum: sha1:1baa4ad9b1437a490699b81f073248a6ad6ef8dd internal/sdk/models/foo/petspecies.go: - last_write_checksum: sha1:5c68014e6b2bdb0a3bdcd3da3bd1345ae8298c54 + last_write_checksum: sha1:b40365c18c0b6b417fc8e8d2855a8486b5a80be5 internal/sdk/models/operations/auth.go: last_write_checksum: sha1:8453b29454499c17b1bd9e9151d05d08b549465c internal/sdk/models/operations/binaryandstringupload.go: last_write_checksum: sha1:7fb4d81daaf907f9894a74cbcda0474399461414 internal/sdk/models/operations/chat.go: - last_write_checksum: sha1:601be5db5ea03d1206810ce26998975748283dd5 + last_write_checksum: sha1:1296a2de6f3ff9f0b0a5ca5a85a0dd578db51f3d internal/sdk/models/operations/createnamespaceconflict.go: last_write_checksum: sha1:fa39c1f2ddb12ccafded76afcf4cd754aa6b4d21 internal/sdk/models/operations/createsinglenamespacefoopet.go: @@ -472,7 +472,7 @@ trackedFiles: internal/sdk/models/operations/geterroronlyexample.go: last_write_checksum: sha1:55916aab358ca12649d5c0319eb05437f69c3538 internal/sdk/models/operations/getfullyflattenedrequest.go: - last_write_checksum: sha1:d50e9c5675ccacef5c02a28ec32fb46d2d098c8d + last_write_checksum: sha1:56c511cba4ec0e3cb5094b42dcc96b825cf78ad5 internal/sdk/models/operations/getnamedprimitiveunion.go: last_write_checksum: sha1:978994805c30242b57757aee60120e6822cff1d2 internal/sdk/models/operations/getnamespaceanimal.go: @@ -506,7 +506,7 @@ trackedFiles: internal/sdk/models/operations/getuser.go: last_write_checksum: sha1:4e8cdbe45c20a5956413c5793ead2fc5f835c0cb internal/sdk/models/operations/listtest1.go: - last_write_checksum: sha1:4ca1c540f13206478c063607b62e170a3385c0b7 + last_write_checksum: sha1:d547bb24e0bb43d3b3e9fb2e4420988d1deafc2d internal/sdk/models/operations/login.go: last_write_checksum: sha1:51736a4cc0ea26fed6bdfa405496cdba32310db2 internal/sdk/models/operations/nestedgroupop.go: @@ -526,7 +526,7 @@ trackedFiles: internal/sdk/models/operations/putnamespaceconflict.go: last_write_checksum: sha1:442754e596aa70404af00f14f205caca74c5bc6d internal/sdk/models/operations/renderasset.go: - last_write_checksum: sha1:5d8733af5efea2dc50866d5d701a8318ef376605 + last_write_checksum: sha1:08d38522ef94d0a38b44ef8c79c284bfed5c0fa4 internal/sdk/models/operations/rootgroupop.go: last_write_checksum: sha1:b5dc1bb6e790596c63264f1aee1b3cd3f38c5658 internal/sdk/models/operations/streammetadata.go: @@ -536,7 +536,7 @@ trackedFiles: internal/sdk/models/operations/testendpoint.go: last_write_checksum: sha1:52a1c1787289c6d0c9fe7c8a197161db01dd969d internal/sdk/models/operations/testenumformats.go: - last_write_checksum: sha1:dcd4304d2ebb69af2a5d5c0c79ca06482a563189 + last_write_checksum: sha1:3b399e3e9d2705607ba2002de148158a413d0ac8 internal/sdk/models/operations/updateuser.go: last_write_checksum: sha1:b2f9e9ce655ea9b884a20f70d1c628627f53f47e internal/sdk/models/operations/urlvalidationstresstest.go: @@ -570,9 +570,9 @@ trackedFiles: internal/sdk/models/sdkerrors/test2responseerror.go: last_write_checksum: sha1:c4410b1558064bbd65a4dbf51390eb2327da156a internal/sdk/models/webhooks/paymentcreated.go: - last_write_checksum: sha1:f2091b263aecc67301ec2f8a644fca573beb1e70 + last_write_checksum: sha1:a74f5b0593147919647db9e666dbd769524e62a7 internal/sdk/models/webhooks/paymentupdated.go: - last_write_checksum: sha1:a668c537ed013f3bc997a0f87c3887449de98463 + last_write_checksum: sha1:71c05bb5a3be49729f6c035de533bad113c25d48 internal/sdk/namespacetests.go: last_write_checksum: sha1:1d336fb78668e77f00653c8fdbfb16b532b1d3d0 internal/sdk/obsolete.go: @@ -584,7 +584,7 @@ trackedFiles: internal/sdk/retry/config.go: last_write_checksum: sha1:102d1953fbd7e9f312c4442c71ccca2eaaeaa27d internal/sdk/sdk.go: - last_write_checksum: sha1:c520bd3ea85ac0247b94fe65238754e59e128102 + last_write_checksum: sha1:941cc8b6ec20fc37161641e2a56216ad81bb4cde internal/sdk/sdkinternal/config/sdkconfiguration.go: last_write_checksum: sha1:1e813226ebfcdfdb00c61fa53bb00d34edce6431 internal/sdk/sdkinternal/globals/globals.go: diff --git a/zSDKs/sdk-cli/internal/sdk/models/bar/petstatus.go b/zSDKs/sdk-cli/internal/sdk/models/bar/petstatus.go index a85ca3cc8..3be48eb54 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/bar/petstatus.go +++ b/zSDKs/sdk-cli/internal/sdk/models/bar/petstatus.go @@ -16,6 +16,16 @@ func (e PetStatus) ToPointer() *PetStatus { return &e } +// PetStatusValues returns every known PetStatus value in schema order. +func PetStatusValues() []PetStatus { + return []PetStatus{ + PetStatusAvailable, + PetStatusAdopted, + PetStatusPending, + PetStatusUnavailable, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *PetStatus) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/components/assetresult.go b/zSDKs/sdk-cli/internal/sdk/models/components/assetresult.go index cfe13c691..3be62bf67 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/components/assetresult.go +++ b/zSDKs/sdk-cli/internal/sdk/models/components/assetresult.go @@ -22,6 +22,16 @@ func (e Status) ToPointer() *Status { return &e } +// StatusValues returns every known Status value in schema order. +func StatusValues() []Status { + return []Status{ + StatusInProgress, + StatusCompleted, + StatusFailed, + StatusRequiresAction, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Status) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/components/color.go b/zSDKs/sdk-cli/internal/sdk/models/components/color.go index 3a68025db..55837b6c3 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/components/color.go +++ b/zSDKs/sdk-cli/internal/sdk/models/components/color.go @@ -18,6 +18,15 @@ func (e Color) ToPointer() *Color { return &e } +// ColorValues returns every known Color value in schema order. +func ColorValues() []Color { + return []Color{ + ColorRed, + ColorGreen, + ColorBlue, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Color) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/components/enum.go b/zSDKs/sdk-cli/internal/sdk/models/components/enum.go index e617b4178..f9a172732 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/components/enum.go +++ b/zSDKs/sdk-cli/internal/sdk/models/components/enum.go @@ -15,6 +15,16 @@ func (e Enum) ToPointer() *Enum { return &e } +// EnumValues returns every known Enum value in schema order. +func EnumValues() []Enum { + return []Enum{ + EnumFirst, + EnumSecond, + EnumThirdA, + EnumThirdB, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Enum) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/components/exhaustiveobject.go b/zSDKs/sdk-cli/internal/sdk/models/components/exhaustiveobject.go index 31d004535..02e0c8eb5 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/components/exhaustiveobject.go +++ b/zSDKs/sdk-cli/internal/sdk/models/components/exhaustiveobject.go @@ -27,6 +27,15 @@ func (e IntEnum) ToPointer() *IntEnum { return &e } +// IntEnumValues returns every known IntEnum value in schema order. +func IntEnumValues() []IntEnum { + return []IntEnum{ + IntEnumFirst, + IntEnumSecond, + IntEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *IntEnum) IsExact() bool { if e != nil { @@ -51,6 +60,15 @@ func (e Int32Enum) ToPointer() *Int32Enum { return &e } +// Int32EnumValues returns every known Int32Enum value in schema order. +func Int32EnumValues() []Int32Enum { + return []Int32Enum{ + Int32EnumFiftyFive, + Int32EnumSixtyNine, + Int32EnumOneHundredAndEightyOne, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Int32Enum) IsExact() bool { if e != nil { @@ -196,6 +214,15 @@ func (e NullableIntEnum) ToPointer() *NullableIntEnum { return &e } +// NullableIntEnumValues returns every known NullableIntEnum value in schema order. +func NullableIntEnumValues() []NullableIntEnum { + return []NullableIntEnum{ + NullableIntEnumFirst, + NullableIntEnumSecond, + NullableIntEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *NullableIntEnum) IsExact() bool { if e != nil { @@ -219,6 +246,15 @@ func (e NullableStringEnum) ToPointer() *NullableStringEnum { return &e } +// NullableStringEnumValues returns every known NullableStringEnum value in schema order. +func NullableStringEnumValues() []NullableStringEnum { + return []NullableStringEnum{ + NullableStringEnumFirst, + NullableStringEnumSecond, + NullableStringEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *NullableStringEnum) IsExact() bool { if e != nil { @@ -242,6 +278,15 @@ func (e Icon) ToPointer() *Icon { return &e } +// IconValues returns every known Icon value in schema order. +func IconValues() []Icon { + return []Icon{ + IconTick, + IconThumbsUp, + IconFire, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Icon) IsExact() bool { if e != nil { @@ -265,6 +310,15 @@ func (e HeroWidth) ToPointer() *HeroWidth { return &e } +// HeroWidthValues returns every known HeroWidth value in schema order. +func HeroWidthValues() []HeroWidth { + return []HeroWidth{ + HeroWidthFourHundredAndEighty, + HeroWidthSevenHundredAndTwenty, + HeroWidthOneThousandAndEighty, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *HeroWidth) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/components/gender.go b/zSDKs/sdk-cli/internal/sdk/models/components/gender.go index 493c52c77..8f2c5a2ad 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/components/gender.go +++ b/zSDKs/sdk-cli/internal/sdk/models/components/gender.go @@ -14,6 +14,15 @@ func (e Gender) ToPointer() *Gender { return &e } +// GenderValues returns every known Gender value in schema order. +func GenderValues() []Gender { + return []Gender{ + GenderMale, + GenderFemale, + GenderOther, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Gender) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/components/oneofwithfactoredoutproperties.go b/zSDKs/sdk-cli/internal/sdk/models/components/oneofwithfactoredoutproperties.go index 1ba861dd5..ede439a29 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/components/oneofwithfactoredoutproperties.go +++ b/zSDKs/sdk-cli/internal/sdk/models/components/oneofwithfactoredoutproperties.go @@ -59,6 +59,15 @@ func (e OneOfWithFactoredOutPropertiesIntEnum) ToPointer() *OneOfWithFactoredOut return &e } +// OneOfWithFactoredOutPropertiesIntEnumValues returns every known OneOfWithFactoredOutPropertiesIntEnum value in schema order. +func OneOfWithFactoredOutPropertiesIntEnumValues() []OneOfWithFactoredOutPropertiesIntEnum { + return []OneOfWithFactoredOutPropertiesIntEnum{ + OneOfWithFactoredOutPropertiesIntEnumFirst, + OneOfWithFactoredOutPropertiesIntEnumSecond, + OneOfWithFactoredOutPropertiesIntEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesIntEnum) IsExact() bool { if e != nil { @@ -83,6 +92,15 @@ func (e OneOfWithFactoredOutPropertiesInt32Enum) ToPointer() *OneOfWithFactoredO return &e } +// OneOfWithFactoredOutPropertiesInt32EnumValues returns every known OneOfWithFactoredOutPropertiesInt32Enum value in schema order. +func OneOfWithFactoredOutPropertiesInt32EnumValues() []OneOfWithFactoredOutPropertiesInt32Enum { + return []OneOfWithFactoredOutPropertiesInt32Enum{ + OneOfWithFactoredOutPropertiesInt32EnumFiftyFive, + OneOfWithFactoredOutPropertiesInt32EnumSixtyNine, + OneOfWithFactoredOutPropertiesInt32EnumOneHundredAndEightyOne, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesInt32Enum) IsExact() bool { if e != nil { @@ -228,6 +246,15 @@ func (e OneOfWithFactoredOutPropertiesNullableIntEnum) ToPointer() *OneOfWithFac return &e } +// OneOfWithFactoredOutPropertiesNullableIntEnumValues returns every known OneOfWithFactoredOutPropertiesNullableIntEnum value in schema order. +func OneOfWithFactoredOutPropertiesNullableIntEnumValues() []OneOfWithFactoredOutPropertiesNullableIntEnum { + return []OneOfWithFactoredOutPropertiesNullableIntEnum{ + OneOfWithFactoredOutPropertiesNullableIntEnumFirst, + OneOfWithFactoredOutPropertiesNullableIntEnumSecond, + OneOfWithFactoredOutPropertiesNullableIntEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesNullableIntEnum) IsExact() bool { if e != nil { @@ -251,6 +278,15 @@ func (e OneOfWithFactoredOutPropertiesNullableStringEnum) ToPointer() *OneOfWith return &e } +// OneOfWithFactoredOutPropertiesNullableStringEnumValues returns every known OneOfWithFactoredOutPropertiesNullableStringEnum value in schema order. +func OneOfWithFactoredOutPropertiesNullableStringEnumValues() []OneOfWithFactoredOutPropertiesNullableStringEnum { + return []OneOfWithFactoredOutPropertiesNullableStringEnum{ + OneOfWithFactoredOutPropertiesNullableStringEnumFirst, + OneOfWithFactoredOutPropertiesNullableStringEnumSecond, + OneOfWithFactoredOutPropertiesNullableStringEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesNullableStringEnum) IsExact() bool { if e != nil { @@ -274,6 +310,15 @@ func (e OneOfWithFactoredOutPropertiesIcon) ToPointer() *OneOfWithFactoredOutPro return &e } +// OneOfWithFactoredOutPropertiesIconValues returns every known OneOfWithFactoredOutPropertiesIcon value in schema order. +func OneOfWithFactoredOutPropertiesIconValues() []OneOfWithFactoredOutPropertiesIcon { + return []OneOfWithFactoredOutPropertiesIcon{ + OneOfWithFactoredOutPropertiesIconTick, + OneOfWithFactoredOutPropertiesIconThumbsUp, + OneOfWithFactoredOutPropertiesIconFire, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesIcon) IsExact() bool { if e != nil { @@ -297,6 +342,15 @@ func (e OneOfWithFactoredOutPropertiesHeroWidth) ToPointer() *OneOfWithFactoredO return &e } +// OneOfWithFactoredOutPropertiesHeroWidthValues returns every known OneOfWithFactoredOutPropertiesHeroWidth value in schema order. +func OneOfWithFactoredOutPropertiesHeroWidthValues() []OneOfWithFactoredOutPropertiesHeroWidth { + return []OneOfWithFactoredOutPropertiesHeroWidth{ + OneOfWithFactoredOutPropertiesHeroWidthFourHundredAndEighty, + OneOfWithFactoredOutPropertiesHeroWidthSevenHundredAndTwenty, + OneOfWithFactoredOutPropertiesHeroWidthOneThousandAndEighty, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesHeroWidth) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/components/taggederror1.go b/zSDKs/sdk-cli/internal/sdk/models/components/taggederror1.go index 983b6e2b6..99cfc34f0 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/components/taggederror1.go +++ b/zSDKs/sdk-cli/internal/sdk/models/components/taggederror1.go @@ -16,6 +16,13 @@ const ( func (e Tag) ToPointer() *Tag { return &e } + +// TagValues returns every known Tag value in schema order. +func TagValues() []Tag { + return []Tag{ + TagTag1, + } +} func (e *Tag) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/components/test2request.go b/zSDKs/sdk-cli/internal/sdk/models/components/test2request.go index ee5914a7e..8060f52ad 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/components/test2request.go +++ b/zSDKs/sdk-cli/internal/sdk/models/components/test2request.go @@ -17,6 +17,14 @@ const ( func (e Type) ToPointer() *Type { return &e } + +// TypeValues returns every known Type value in schema order. +func TypeValues() []Type { + return []Type{ + TypeSuperType1, + TypeSuperType2, + } +} func (e *Type) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/foo/cat.go b/zSDKs/sdk-cli/internal/sdk/models/foo/cat.go index 2da56320a..8ad9ae96e 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/foo/cat.go +++ b/zSDKs/sdk-cli/internal/sdk/models/foo/cat.go @@ -17,6 +17,13 @@ const ( func (e CatAnimalType) ToPointer() *CatAnimalType { return &e } + +// CatAnimalTypeValues returns every known CatAnimalType value in schema order. +func CatAnimalTypeValues() []CatAnimalType { + return []CatAnimalType{ + CatAnimalTypeCat, + } +} func (e *CatAnimalType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/foo/dog.go b/zSDKs/sdk-cli/internal/sdk/models/foo/dog.go index 5f237ede3..6d815bd9f 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/foo/dog.go +++ b/zSDKs/sdk-cli/internal/sdk/models/foo/dog.go @@ -17,6 +17,13 @@ const ( func (e DogAnimalType) ToPointer() *DogAnimalType { return &e } + +// DogAnimalTypeValues returns every known DogAnimalType value in schema order. +func DogAnimalTypeValues() []DogAnimalType { + return []DogAnimalType{ + DogAnimalTypeDog, + } +} func (e *DogAnimalType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/foo/petspecies.go b/zSDKs/sdk-cli/internal/sdk/models/foo/petspecies.go index 0ebfe6f0a..b50856eb9 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/foo/petspecies.go +++ b/zSDKs/sdk-cli/internal/sdk/models/foo/petspecies.go @@ -16,6 +16,16 @@ func (e PetSpecies) ToPointer() *PetSpecies { return &e } +// PetSpeciesValues returns every known PetSpecies value in schema order. +func PetSpeciesValues() []PetSpecies { + return []PetSpecies{ + PetSpeciesDog, + PetSpeciesCat, + PetSpeciesBird, + PetSpeciesFish, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *PetSpecies) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/operations/chat.go b/zSDKs/sdk-cli/internal/sdk/models/operations/chat.go index 24e1c40ad..e54b3f1da 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/operations/chat.go +++ b/zSDKs/sdk-cli/internal/sdk/models/operations/chat.go @@ -118,6 +118,15 @@ func (e Status) ToPointer() *Status { return &e } +// StatusValues returns every known Status value in schema order. +func StatusValues() []Status { + return []Status{ + StatusStreaming, + StatusCompleted, + StatusFailed, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Status) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/operations/getfullyflattenedrequest.go b/zSDKs/sdk-cli/internal/sdk/models/operations/getfullyflattenedrequest.go index e2b789e5e..e1ee1a95b 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/operations/getfullyflattenedrequest.go +++ b/zSDKs/sdk-cli/internal/sdk/models/operations/getfullyflattenedrequest.go @@ -27,6 +27,16 @@ const ( func (e Emoji) ToPointer() *Emoji { return &e } + +// EmojiValues returns every known Emoji value in schema order. +func EmojiValues() []Emoji { + return []Emoji{ + EmojiWave, + EmojiSmiley, + EmojiThumbsup, + EmojiTada, + } +} func (e *Emoji) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/operations/listtest1.go b/zSDKs/sdk-cli/internal/sdk/models/operations/listtest1.go index 5f1689e07..c4dd0ca77 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/operations/listtest1.go +++ b/zSDKs/sdk-cli/internal/sdk/models/operations/listtest1.go @@ -59,6 +59,15 @@ const ( func (e QueryParam2) ToPointer() *QueryParam2 { return &e } + +// QueryParam2Values returns every known QueryParam2 value in schema order. +func QueryParam2Values() []QueryParam2 { + return []QueryParam2{ + QueryParam2Zero, + QueryParam2One, + QueryParam2Two, + } +} func (e *QueryParam2) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/operations/renderasset.go b/zSDKs/sdk-cli/internal/sdk/models/operations/renderasset.go index 81788f7b6..77be0b92c 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/operations/renderasset.go +++ b/zSDKs/sdk-cli/internal/sdk/models/operations/renderasset.go @@ -20,6 +20,14 @@ const ( func (e OutputModality) ToPointer() *OutputModality { return &e } + +// OutputModalityValues returns every known OutputModality value in schema order. +func OutputModalityValues() []OutputModality { + return []OutputModality{ + OutputModalityText, + OutputModalityImage, + } +} func (e *OutputModality) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/operations/testenumformats.go b/zSDKs/sdk-cli/internal/sdk/models/operations/testenumformats.go index e3a154336..afefd1012 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/operations/testenumformats.go +++ b/zSDKs/sdk-cli/internal/sdk/models/operations/testenumformats.go @@ -24,6 +24,18 @@ const ( func (e StringArrayFormat) ToPointer() *StringArrayFormat { return &e } + +// StringArrayFormatValues returns every known StringArrayFormat value in schema order. +func StringArrayFormatValues() []StringArrayFormat { + return []StringArrayFormat{ + StringArrayFormatAwaitingReviewProcess, + StringArrayFormatCompletelyApprovedAndFinalized, + StringArrayFormatPermanentlyRejectedForever, + StringArrayFormatX8664, + StringArrayFormatIOsApp, + StringArrayFormatMyCustomName, + } +} func (e *StringArrayFormat) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -61,6 +73,16 @@ const ( func (e StringMapFormat) ToPointer() *StringMapFormat { return &e } + +// StringMapFormatValues returns every known StringMapFormat value in schema order. +func StringMapFormatValues() []StringMapFormat { + return []StringMapFormat{ + StringMapFormatMinimalImportanceLevel, + StringMapFormatModerateImportanceLevel, + StringMapFormatSignificantImportanceLevel, + StringMapFormatExtremelyUrgentAndCritical, + } +} func (e *StringMapFormat) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -94,6 +116,16 @@ const ( func (e StringPartialMapFormat) ToPointer() *StringPartialMapFormat { return &e } + +// StringPartialMapFormatValues returns every known StringPartialMapFormat value in schema order. +func StringPartialMapFormatValues() []StringPartialMapFormat { + return []StringPartialMapFormat{ + StringPartialMapFormatInitialDraftVersion, + StringPartialMapFormatUnderReview, + StringPartialMapFormatLivePublishedContent, + StringPartialMapFormatArchivedOld, + } +} func (e *StringPartialMapFormat) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -127,6 +159,16 @@ const ( func (e IntegerMapFormat) ToPointer() *IntegerMapFormat { return &e } + +// IntegerMapFormatValues returns every known IntegerMapFormat value in schema order. +func IntegerMapFormatValues() []IntegerMapFormat { + return []IntegerMapFormat{ + IntegerMapFormatContinueProcessingRequest, + IntegerMapFormatSuccessfulOperationComplete, + IntegerMapFormatRedirectToAnotherLocation, + IntegerMapFormatClientSideErrorOccurred, + } +} func (e *IntegerMapFormat) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -161,6 +203,17 @@ const ( func (e IntegerPartialMapFormat) ToPointer() *IntegerPartialMapFormat { return &e } + +// IntegerPartialMapFormatValues returns every known IntegerPartialMapFormat value in schema order. +func IntegerPartialMapFormatValues() []IntegerPartialMapFormat { + return []IntegerPartialMapFormat{ + IntegerPartialMapFormatPrimaryFirstOption, + IntegerPartialMapFormatTwo, + IntegerPartialMapFormatMiddleThirdChoice, + IntegerPartialMapFormatFour, + IntegerPartialMapFormatFinalFifthSelection, + } +} func (e *IntegerPartialMapFormat) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/webhooks/paymentcreated.go b/zSDKs/sdk-cli/internal/sdk/models/webhooks/paymentcreated.go index 85a302fed..ed10aceb4 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/webhooks/paymentcreated.go +++ b/zSDKs/sdk-cli/internal/sdk/models/webhooks/paymentcreated.go @@ -17,6 +17,13 @@ const ( func (e PaymentCreatedType) ToPointer() *PaymentCreatedType { return &e } + +// PaymentCreatedTypeValues returns every known PaymentCreatedType value in schema order. +func PaymentCreatedTypeValues() []PaymentCreatedType { + return []PaymentCreatedType{ + PaymentCreatedTypePaymentCreated, + } +} func (e *PaymentCreatedType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/models/webhooks/paymentupdated.go b/zSDKs/sdk-cli/internal/sdk/models/webhooks/paymentupdated.go index 5a1f9df01..06af72aa3 100644 --- a/zSDKs/sdk-cli/internal/sdk/models/webhooks/paymentupdated.go +++ b/zSDKs/sdk-cli/internal/sdk/models/webhooks/paymentupdated.go @@ -17,6 +17,13 @@ const ( func (e PaymentUpdatedType) ToPointer() *PaymentUpdatedType { return &e } + +// PaymentUpdatedTypeValues returns every known PaymentUpdatedType value in schema order. +func PaymentUpdatedTypeValues() []PaymentUpdatedType { + return []PaymentUpdatedType{ + PaymentUpdatedTypePaymentUpdated, + } +} func (e *PaymentUpdatedType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-cli/internal/sdk/sdk.go b/zSDKs/sdk-cli/internal/sdk/sdk.go index aa2fbb78d..f58b93c15 100644 --- a/zSDKs/sdk-cli/internal/sdk/sdk.go +++ b/zSDKs/sdk-cli/internal/sdk/sdk.go @@ -161,6 +161,15 @@ const ( func (e ServerPORT) ToPointer() *ServerPORT { return &e } + +// ServerPORTValues returns every known ServerPORT value in schema order. +func ServerPORTValues() []ServerPORT { + return []ServerPORT{ + ServerPORTEighty, + ServerPORTEightThousandAndEighty, + ServerPORTFourHundredAndFortyThree, + } +} func (e *ServerPORT) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/.speakeasy/gen.lock b/zSDKs/sdk-go/.speakeasy/gen.lock index f3d52b272..aa6b2ebd3 100644 --- a/zSDKs/sdk-go/.speakeasy/gen.lock +++ b/zSDKs/sdk-go/.speakeasy/gen.lock @@ -71,7 +71,7 @@ trackedFiles: assetoutputstep.go: last_write_checksum: sha1:c0bfdc786639c5f5f4203d3e312b7b9b110c804e assetresult.go: - last_write_checksum: sha1:1bd62d89ba2a864199c70bc15e1c22b22e787509 + last_write_checksum: sha1:fa8fd2ee38f33ce824d44d6f43eb00b36f539879 assettextblock.go: last_write_checksum: sha1:cdbdb48e28b19558b9a580123b22b21e33eced3d authop.go: @@ -87,7 +87,7 @@ trackedFiles: bar/petowner.go: last_write_checksum: sha1:bf3637a5e753d59ad3d89aa641b6e9da5a4328c5 bar/petstatus.go: - last_write_checksum: sha1:f7d8754aaba839f8fbb4bbdb45dc4f1a3fae363b + last_write_checksum: sha1:a5d527b8df8301fc7d5ff07e88d601105bde467f bar/vehicle.go: last_write_checksum: sha1:624c49af71775611d07b16d35bdd12ac1e41b281 baseuser.go: @@ -111,7 +111,7 @@ trackedFiles: circularunion.go: last_write_checksum: sha1:c359b5b8af9f0267afd40b9fd88082eb28ac7dd6 color.go: - last_write_checksum: sha1:6527f53d066ff96cf6ba2ce62e4b145ae9f08277 + last_write_checksum: sha1:9a5033ba91807e42206060510c0d9a484657368b conflicts.go: last_write_checksum: sha1:726bbd91315eefeb0a0101f3c7d632a951ef278b createnamespaceconflictop.go: @@ -613,7 +613,7 @@ trackedFiles: empty.go: last_write_checksum: sha1:7f935e653801d59398398e335b0859c66d08dca8 enum.go: - last_write_checksum: sha1:20d9369822bfba4759edfa6ac32473554760a241 + last_write_checksum: sha1:6b2d721bfdc7ee4e7334e9926b990d1dec2e6592 errorserror.go: last_write_checksum: sha1:27e02db8a17d6f68f3a13153606b4fb534591e16 errortype1.go: @@ -623,7 +623,7 @@ trackedFiles: escalation.go: last_write_checksum: sha1:191befebaa2a2fe0b8d5ed7982b97c1f73c3dbf9 exhaustiveobject.go: - last_write_checksum: sha1:b190b08c98f2f96a8e4059ee282bdae270207148 + last_write_checksum: sha1:b20c205e9a0478ecd119864e2c84da6f4777d655 failedresponseerror.go: last_write_checksum: sha1:8ec5c1203874745c08e365276737a8069e18589f file.go: @@ -631,9 +631,9 @@ trackedFiles: foo/animal.go: last_write_checksum: sha1:8cdc066ebda80e1dc25e4f1c98e1d480e139c70e foo/cat.go: - last_write_checksum: sha1:ecbb9e73dad2265a66bc5fb214e972d7fe958f9e + last_write_checksum: sha1:15753602a7d440303136d1eb6bd75e9bc1840821 foo/dog.go: - last_write_checksum: sha1:82a3ef0e8219bfe7aff8749ebde36f36787b2b93 + last_write_checksum: sha1:937eff29f4e734be2142966347ddc644e85db2ec foo/organization.go: last_write_checksum: sha1:310b585dc47866eaa5f5bf337ce16ef7d5d2181b foo/pet.go: @@ -641,9 +641,9 @@ trackedFiles: foo/petowner.go: last_write_checksum: sha1:52e2d2edb536a256eaaab3bd6935f8d89790c3f4 foo/petspecies.go: - last_write_checksum: sha1:5c68014e6b2bdb0a3bdcd3da3bd1345ae8298c54 + last_write_checksum: sha1:b40365c18c0b6b417fc8e8d2855a8486b5a80be5 gender.go: - last_write_checksum: sha1:9dfc1b837299e26104d50f44086ccda4d288dead + last_write_checksum: sha1:bd908c6cf270b5cf203559fc267ece5de1278c91 getassetop.go: last_write_checksum: sha1:5e9a6694fbead64e8832e8631c53bdc076d3c317 getbinarydefaultresponseop.go: @@ -657,7 +657,7 @@ trackedFiles: geterroronlyexampleop.go: last_write_checksum: sha1:f5300cd22e15fa0ccf6600fb8d505c7758203bce getfullyflattenedrequestop.go: - last_write_checksum: sha1:c5457a9359767caae7c48b3723ef48d36a0aef23 + last_write_checksum: sha1:8c9a05c50ab582a459dbd7cc28394a1f8634dd7f getnamedprimitiveunionop.go: last_write_checksum: sha1:513a81ae7e44749e478dabbd995eefc6c1f25de4 getnamespaceanimalop.go: @@ -731,7 +731,7 @@ trackedFiles: internal/utils/utils.go: last_write_checksum: sha1:c1d0849c18660d40ed2e588d52c7f697fe2cbb41 listtest1op.go: - last_write_checksum: sha1:f97b37a5070bdc83454bc0d5c3f3217b9445a80c + last_write_checksum: sha1:76ec8313794300dff2ebf8524da05329216ff4fe loginop.go: last_write_checksum: sha1:1832ef68c9f52a3af7468e5d5462f0e8a1e6013b mcppolicy.go: @@ -753,7 +753,7 @@ trackedFiles: obsolete.go: last_write_checksum: sha1:aab3a8f3b68d4e643cbd9ce783f5921b0d721456 oneofwithfactoredoutproperties.go: - last_write_checksum: sha1:4b289d033478345c1d7aaecd1639d57d99750453 + last_write_checksum: sha1:6788fa8217e32bd182e4552bba3b7a0d54e33883 operationwithleadingandtrailingunderscoresop.go: last_write_checksum: sha1:700ce7646614f1bb787d03c34e91f51465de60bb optionalnullable/optionalnullable.go: @@ -765,9 +765,9 @@ trackedFiles: parenthesesinpathallowedop.go: last_write_checksum: sha1:a22710827d6bf574a2e7d9c69428feeb74b9e6ba paymentcreatedop.go: - last_write_checksum: sha1:232a55c934adc1627c284551592b1c2e6cc2a732 + last_write_checksum: sha1:e3043f2e591ca5e582d26446015552f4dc2a6965 paymentupdatedop.go: - last_write_checksum: sha1:a79511739297ddf6ad7163e029492e62271e3603 + last_write_checksum: sha1:199d6375db09befd02fda3511db399edb9753f0b policystep.go: last_write_checksum: sha1:758cede66131af34efe9ebb068573eb22da71079 postfileop.go: @@ -783,7 +783,7 @@ trackedFiles: recursiveformfield.go: last_write_checksum: sha1:47d65301d5c32ef821fa2cab7b0cf98124a7403f renderassetop.go: - last_write_checksum: sha1:a788e389967e88581337759b330af30c4e562bf8 + last_write_checksum: sha1:05217d7501d9fdab156ea577b6de8043462d66cc requesttimeouterror.go: last_write_checksum: sha1:67841444fc13132948f5b84e2578d5e838fc5076 responsevalidationerror.go: @@ -795,7 +795,7 @@ trackedFiles: rootgroupopop.go: last_write_checksum: sha1:ae99efa01cd9e9c3c8c17c273155a99cfbb69d95 sdk.go: - last_write_checksum: sha1:193ab92bb570ae0fb1edfa2a1e294643d674d6ee + last_write_checksum: sha1:4e7cc488c2e9a775bdda2c97aab315ecfef2f851 sdkerror.go: last_write_checksum: sha1:b6d15e1f2e161acfecbf90b67b25ed667cff7e80 security.go: @@ -823,7 +823,7 @@ trackedFiles: tag3.go: last_write_checksum: sha1:01c2cbab58b2ac9635116a687f199e8cd7a6c5b6 taggederror1.go: - last_write_checksum: sha1:e297bfc822c4a8474857dd782798dcf2dfba04b1 + last_write_checksum: sha1:f576861c4610040658b880d063446d493207aada taggederror2.go: last_write_checksum: sha1:21e1b21c80e688109ee021dd89791ea66a2b21e8 tail.go: @@ -833,7 +833,7 @@ trackedFiles: templatebracestest.go: last_write_checksum: sha1:e0e0600fb007161f1fbfea31d55162655a5af4f4 test2request.go: - last_write_checksum: sha1:875d7563d7ef8e0911195f9ca77bd43ff5247dc4 + last_write_checksum: sha1:33e563337111e3c46b0cb1e810bbc739cdbf6861 test2response.go: last_write_checksum: sha1:bde2bc7da128500dce00dc45a22c7bc010dd791a test2responseerror.go: @@ -841,7 +841,7 @@ trackedFiles: testendpointop.go: last_write_checksum: sha1:6b71f1c58d963ceafa5a854fc43d4e26e7100a86 testenumformatsop.go: - last_write_checksum: sha1:26dd11c0ba882e476e2e20c7cb900e5f079b275a + last_write_checksum: sha1:aeb8c6d961441b44ec22b69dbc6ac7d5813be8d1 testgroup.go: last_write_checksum: sha1:cff7cea404c1a7e746968602b9f292e051abc3fb tests/conflicts_test.go: diff --git a/zSDKs/sdk-go/assetresult.go b/zSDKs/sdk-go/assetresult.go index b9f1333e8..6cabf45b3 100644 --- a/zSDKs/sdk-go/assetresult.go +++ b/zSDKs/sdk-go/assetresult.go @@ -22,6 +22,16 @@ func (e Status) ToPointer() *Status { return &e } +// StatusValues returns every known Status value in schema order. +func StatusValues() []Status { + return []Status{ + StatusInProgress, + StatusCompleted, + StatusFailed, + StatusRequiresAction, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Status) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-go/bar/petstatus.go b/zSDKs/sdk-go/bar/petstatus.go index a85ca3cc8..3be48eb54 100644 --- a/zSDKs/sdk-go/bar/petstatus.go +++ b/zSDKs/sdk-go/bar/petstatus.go @@ -16,6 +16,16 @@ func (e PetStatus) ToPointer() *PetStatus { return &e } +// PetStatusValues returns every known PetStatus value in schema order. +func PetStatusValues() []PetStatus { + return []PetStatus{ + PetStatusAvailable, + PetStatusAdopted, + PetStatusPending, + PetStatusUnavailable, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *PetStatus) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-go/color.go b/zSDKs/sdk-go/color.go index 30fda1cf6..e103a6d75 100644 --- a/zSDKs/sdk-go/color.go +++ b/zSDKs/sdk-go/color.go @@ -18,6 +18,15 @@ func (e Color) ToPointer() *Color { return &e } +// ColorValues returns every known Color value in schema order. +func ColorValues() []Color { + return []Color{ + ColorRed, + ColorGreen, + ColorBlue, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Color) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-go/enum.go b/zSDKs/sdk-go/enum.go index 358f3d2b9..519d27997 100644 --- a/zSDKs/sdk-go/enum.go +++ b/zSDKs/sdk-go/enum.go @@ -15,6 +15,16 @@ func (e Enum) ToPointer() *Enum { return &e } +// EnumValues returns every known Enum value in schema order. +func EnumValues() []Enum { + return []Enum{ + EnumFirst, + EnumSecond, + EnumThirdA, + EnumThirdB, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Enum) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-go/exhaustiveobject.go b/zSDKs/sdk-go/exhaustiveobject.go index 90ec17d59..bd7fcf5d3 100644 --- a/zSDKs/sdk-go/exhaustiveobject.go +++ b/zSDKs/sdk-go/exhaustiveobject.go @@ -27,6 +27,15 @@ func (e IntEnum) ToPointer() *IntEnum { return &e } +// IntEnumValues returns every known IntEnum value in schema order. +func IntEnumValues() []IntEnum { + return []IntEnum{ + IntEnumFirst, + IntEnumSecond, + IntEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *IntEnum) IsExact() bool { if e != nil { @@ -51,6 +60,15 @@ func (e Int32Enum) ToPointer() *Int32Enum { return &e } +// Int32EnumValues returns every known Int32Enum value in schema order. +func Int32EnumValues() []Int32Enum { + return []Int32Enum{ + Int32EnumFiftyFive, + Int32EnumSixtyNine, + Int32EnumOneHundredAndEightyOne, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Int32Enum) IsExact() bool { if e != nil { @@ -197,6 +215,15 @@ func (e NullableIntEnum) ToPointer() *NullableIntEnum { return &e } +// NullableIntEnumValues returns every known NullableIntEnum value in schema order. +func NullableIntEnumValues() []NullableIntEnum { + return []NullableIntEnum{ + NullableIntEnumFirst, + NullableIntEnumSecond, + NullableIntEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *NullableIntEnum) IsExact() bool { if e != nil { @@ -220,6 +247,15 @@ func (e NullableStringEnum) ToPointer() *NullableStringEnum { return &e } +// NullableStringEnumValues returns every known NullableStringEnum value in schema order. +func NullableStringEnumValues() []NullableStringEnum { + return []NullableStringEnum{ + NullableStringEnumFirst, + NullableStringEnumSecond, + NullableStringEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *NullableStringEnum) IsExact() bool { if e != nil { @@ -243,6 +279,15 @@ func (e Icon) ToPointer() *Icon { return &e } +// IconValues returns every known Icon value in schema order. +func IconValues() []Icon { + return []Icon{ + IconTick, + IconThumbsUp, + IconFire, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Icon) IsExact() bool { if e != nil { @@ -266,6 +311,15 @@ func (e HeroWidth) ToPointer() *HeroWidth { return &e } +// HeroWidthValues returns every known HeroWidth value in schema order. +func HeroWidthValues() []HeroWidth { + return []HeroWidth{ + HeroWidthFourHundredAndEighty, + HeroWidthSevenHundredAndTwenty, + HeroWidthOneThousandAndEighty, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *HeroWidth) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-go/foo/cat.go b/zSDKs/sdk-go/foo/cat.go index 8561e56c4..be24e7bad 100644 --- a/zSDKs/sdk-go/foo/cat.go +++ b/zSDKs/sdk-go/foo/cat.go @@ -17,6 +17,13 @@ const ( func (e CatAnimalType) ToPointer() *CatAnimalType { return &e } + +// CatAnimalTypeValues returns every known CatAnimalType value in schema order. +func CatAnimalTypeValues() []CatAnimalType { + return []CatAnimalType{ + CatAnimalTypeCat, + } +} func (e *CatAnimalType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/foo/dog.go b/zSDKs/sdk-go/foo/dog.go index 321714653..17f6b3cf3 100644 --- a/zSDKs/sdk-go/foo/dog.go +++ b/zSDKs/sdk-go/foo/dog.go @@ -17,6 +17,13 @@ const ( func (e DogAnimalType) ToPointer() *DogAnimalType { return &e } + +// DogAnimalTypeValues returns every known DogAnimalType value in schema order. +func DogAnimalTypeValues() []DogAnimalType { + return []DogAnimalType{ + DogAnimalTypeDog, + } +} func (e *DogAnimalType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/foo/petspecies.go b/zSDKs/sdk-go/foo/petspecies.go index 0ebfe6f0a..b50856eb9 100644 --- a/zSDKs/sdk-go/foo/petspecies.go +++ b/zSDKs/sdk-go/foo/petspecies.go @@ -16,6 +16,16 @@ func (e PetSpecies) ToPointer() *PetSpecies { return &e } +// PetSpeciesValues returns every known PetSpecies value in schema order. +func PetSpeciesValues() []PetSpecies { + return []PetSpecies{ + PetSpeciesDog, + PetSpeciesCat, + PetSpeciesBird, + PetSpeciesFish, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *PetSpecies) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-go/gender.go b/zSDKs/sdk-go/gender.go index a7890da0d..f207592b4 100644 --- a/zSDKs/sdk-go/gender.go +++ b/zSDKs/sdk-go/gender.go @@ -14,6 +14,15 @@ func (e Gender) ToPointer() *Gender { return &e } +// GenderValues returns every known Gender value in schema order. +func GenderValues() []Gender { + return []Gender{ + GenderMale, + GenderFemale, + GenderOther, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *Gender) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-go/getfullyflattenedrequestop.go b/zSDKs/sdk-go/getfullyflattenedrequestop.go index 080b750f4..c15ed9e1b 100644 --- a/zSDKs/sdk-go/getfullyflattenedrequestop.go +++ b/zSDKs/sdk-go/getfullyflattenedrequestop.go @@ -27,6 +27,16 @@ const ( func (e Emoji) ToPointer() *Emoji { return &e } + +// EmojiValues returns every known Emoji value in schema order. +func EmojiValues() []Emoji { + return []Emoji{ + EmojiWave, + EmojiSmiley, + EmojiThumbsup, + EmojiTada, + } +} func (e *Emoji) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/listtest1op.go b/zSDKs/sdk-go/listtest1op.go index 34aa41826..3adb6ef0f 100644 --- a/zSDKs/sdk-go/listtest1op.go +++ b/zSDKs/sdk-go/listtest1op.go @@ -69,6 +69,15 @@ const ( func (e QueryParam2) ToPointer() *QueryParam2 { return &e } + +// QueryParam2Values returns every known QueryParam2 value in schema order. +func QueryParam2Values() []QueryParam2 { + return []QueryParam2{ + QueryParam2Zero, + QueryParam2One, + QueryParam2Two, + } +} func (e *QueryParam2) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/oneofwithfactoredoutproperties.go b/zSDKs/sdk-go/oneofwithfactoredoutproperties.go index b77e9e851..78421aa2e 100644 --- a/zSDKs/sdk-go/oneofwithfactoredoutproperties.go +++ b/zSDKs/sdk-go/oneofwithfactoredoutproperties.go @@ -59,6 +59,15 @@ func (e OneOfWithFactoredOutPropertiesIntEnum) ToPointer() *OneOfWithFactoredOut return &e } +// OneOfWithFactoredOutPropertiesIntEnumValues returns every known OneOfWithFactoredOutPropertiesIntEnum value in schema order. +func OneOfWithFactoredOutPropertiesIntEnumValues() []OneOfWithFactoredOutPropertiesIntEnum { + return []OneOfWithFactoredOutPropertiesIntEnum{ + OneOfWithFactoredOutPropertiesIntEnumFirst, + OneOfWithFactoredOutPropertiesIntEnumSecond, + OneOfWithFactoredOutPropertiesIntEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesIntEnum) IsExact() bool { if e != nil { @@ -83,6 +92,15 @@ func (e OneOfWithFactoredOutPropertiesInt32Enum) ToPointer() *OneOfWithFactoredO return &e } +// OneOfWithFactoredOutPropertiesInt32EnumValues returns every known OneOfWithFactoredOutPropertiesInt32Enum value in schema order. +func OneOfWithFactoredOutPropertiesInt32EnumValues() []OneOfWithFactoredOutPropertiesInt32Enum { + return []OneOfWithFactoredOutPropertiesInt32Enum{ + OneOfWithFactoredOutPropertiesInt32EnumFiftyFive, + OneOfWithFactoredOutPropertiesInt32EnumSixtyNine, + OneOfWithFactoredOutPropertiesInt32EnumOneHundredAndEightyOne, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesInt32Enum) IsExact() bool { if e != nil { @@ -229,6 +247,15 @@ func (e OneOfWithFactoredOutPropertiesNullableIntEnum) ToPointer() *OneOfWithFac return &e } +// OneOfWithFactoredOutPropertiesNullableIntEnumValues returns every known OneOfWithFactoredOutPropertiesNullableIntEnum value in schema order. +func OneOfWithFactoredOutPropertiesNullableIntEnumValues() []OneOfWithFactoredOutPropertiesNullableIntEnum { + return []OneOfWithFactoredOutPropertiesNullableIntEnum{ + OneOfWithFactoredOutPropertiesNullableIntEnumFirst, + OneOfWithFactoredOutPropertiesNullableIntEnumSecond, + OneOfWithFactoredOutPropertiesNullableIntEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesNullableIntEnum) IsExact() bool { if e != nil { @@ -252,6 +279,15 @@ func (e OneOfWithFactoredOutPropertiesNullableStringEnum) ToPointer() *OneOfWith return &e } +// OneOfWithFactoredOutPropertiesNullableStringEnumValues returns every known OneOfWithFactoredOutPropertiesNullableStringEnum value in schema order. +func OneOfWithFactoredOutPropertiesNullableStringEnumValues() []OneOfWithFactoredOutPropertiesNullableStringEnum { + return []OneOfWithFactoredOutPropertiesNullableStringEnum{ + OneOfWithFactoredOutPropertiesNullableStringEnumFirst, + OneOfWithFactoredOutPropertiesNullableStringEnumSecond, + OneOfWithFactoredOutPropertiesNullableStringEnumThird, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesNullableStringEnum) IsExact() bool { if e != nil { @@ -275,6 +311,15 @@ func (e OneOfWithFactoredOutPropertiesIcon) ToPointer() *OneOfWithFactoredOutPro return &e } +// OneOfWithFactoredOutPropertiesIconValues returns every known OneOfWithFactoredOutPropertiesIcon value in schema order. +func OneOfWithFactoredOutPropertiesIconValues() []OneOfWithFactoredOutPropertiesIcon { + return []OneOfWithFactoredOutPropertiesIcon{ + OneOfWithFactoredOutPropertiesIconTick, + OneOfWithFactoredOutPropertiesIconThumbsUp, + OneOfWithFactoredOutPropertiesIconFire, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesIcon) IsExact() bool { if e != nil { @@ -298,6 +343,15 @@ func (e OneOfWithFactoredOutPropertiesHeroWidth) ToPointer() *OneOfWithFactoredO return &e } +// OneOfWithFactoredOutPropertiesHeroWidthValues returns every known OneOfWithFactoredOutPropertiesHeroWidth value in schema order. +func OneOfWithFactoredOutPropertiesHeroWidthValues() []OneOfWithFactoredOutPropertiesHeroWidth { + return []OneOfWithFactoredOutPropertiesHeroWidth{ + OneOfWithFactoredOutPropertiesHeroWidthFourHundredAndEighty, + OneOfWithFactoredOutPropertiesHeroWidthSevenHundredAndTwenty, + OneOfWithFactoredOutPropertiesHeroWidthOneThousandAndEighty, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OneOfWithFactoredOutPropertiesHeroWidth) IsExact() bool { if e != nil { diff --git a/zSDKs/sdk-go/paymentcreatedop.go b/zSDKs/sdk-go/paymentcreatedop.go index de60d7fac..296c5b776 100644 --- a/zSDKs/sdk-go/paymentcreatedop.go +++ b/zSDKs/sdk-go/paymentcreatedop.go @@ -17,6 +17,13 @@ const ( func (e PaymentCreatedType) ToPointer() *PaymentCreatedType { return &e } + +// PaymentCreatedTypeValues returns every known PaymentCreatedType value in schema order. +func PaymentCreatedTypeValues() []PaymentCreatedType { + return []PaymentCreatedType{ + PaymentCreatedTypePaymentCreated, + } +} func (e *PaymentCreatedType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/paymentupdatedop.go b/zSDKs/sdk-go/paymentupdatedop.go index 30d543cde..a86187371 100644 --- a/zSDKs/sdk-go/paymentupdatedop.go +++ b/zSDKs/sdk-go/paymentupdatedop.go @@ -17,6 +17,13 @@ const ( func (e PaymentUpdatedType) ToPointer() *PaymentUpdatedType { return &e } + +// PaymentUpdatedTypeValues returns every known PaymentUpdatedType value in schema order. +func PaymentUpdatedTypeValues() []PaymentUpdatedType { + return []PaymentUpdatedType{ + PaymentUpdatedTypePaymentUpdated, + } +} func (e *PaymentUpdatedType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/renderassetop.go b/zSDKs/sdk-go/renderassetop.go index 03746812f..087eb9772 100644 --- a/zSDKs/sdk-go/renderassetop.go +++ b/zSDKs/sdk-go/renderassetop.go @@ -19,6 +19,14 @@ const ( func (e OutputModality) ToPointer() *OutputModality { return &e } + +// OutputModalityValues returns every known OutputModality value in schema order. +func OutputModalityValues() []OutputModality { + return []OutputModality{ + OutputModalityText, + OutputModalityImage, + } +} func (e *OutputModality) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/sdk.go b/zSDKs/sdk-go/sdk.go index 44a551c0e..666c7183f 100644 --- a/zSDKs/sdk-go/sdk.go +++ b/zSDKs/sdk-go/sdk.go @@ -157,6 +157,15 @@ const ( func (e ServerPORT) ToPointer() *ServerPORT { return &e } + +// ServerPORTValues returns every known ServerPORT value in schema order. +func ServerPORTValues() []ServerPORT { + return []ServerPORT{ + ServerPORTEighty, + ServerPORTEightThousandAndEighty, + ServerPORTFourHundredAndFortyThree, + } +} func (e *ServerPORT) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/taggederror1.go b/zSDKs/sdk-go/taggederror1.go index 76762db02..494675cc7 100644 --- a/zSDKs/sdk-go/taggederror1.go +++ b/zSDKs/sdk-go/taggederror1.go @@ -16,6 +16,13 @@ const ( func (e Tag) ToPointer() *Tag { return &e } + +// TagValues returns every known Tag value in schema order. +func TagValues() []Tag { + return []Tag{ + TagTag1, + } +} func (e *Tag) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/test2request.go b/zSDKs/sdk-go/test2request.go index bd3dae7b5..05cabbc82 100644 --- a/zSDKs/sdk-go/test2request.go +++ b/zSDKs/sdk-go/test2request.go @@ -18,6 +18,14 @@ const ( func (e Type) ToPointer() *Type { return &e } + +// TypeValues returns every known Type value in schema order. +func TypeValues() []Type { + return []Type{ + TypeSuperType1, + TypeSuperType2, + } +} func (e *Type) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/sdk-go/testenumformatsop.go b/zSDKs/sdk-go/testenumformatsop.go index 7a8697c7b..58f16d839 100644 --- a/zSDKs/sdk-go/testenumformatsop.go +++ b/zSDKs/sdk-go/testenumformatsop.go @@ -23,6 +23,18 @@ const ( func (e StringArrayFormat) ToPointer() *StringArrayFormat { return &e } + +// StringArrayFormatValues returns every known StringArrayFormat value in schema order. +func StringArrayFormatValues() []StringArrayFormat { + return []StringArrayFormat{ + StringArrayFormatAwaitingReviewProcess, + StringArrayFormatCompletelyApprovedAndFinalized, + StringArrayFormatPermanentlyRejectedForever, + StringArrayFormatX8664, + StringArrayFormatIOsApp, + StringArrayFormatMyCustomName, + } +} func (e *StringArrayFormat) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -60,6 +72,16 @@ const ( func (e StringMapFormat) ToPointer() *StringMapFormat { return &e } + +// StringMapFormatValues returns every known StringMapFormat value in schema order. +func StringMapFormatValues() []StringMapFormat { + return []StringMapFormat{ + StringMapFormatMinimalImportanceLevel, + StringMapFormatModerateImportanceLevel, + StringMapFormatSignificantImportanceLevel, + StringMapFormatExtremelyUrgentAndCritical, + } +} func (e *StringMapFormat) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -93,6 +115,16 @@ const ( func (e StringPartialMapFormat) ToPointer() *StringPartialMapFormat { return &e } + +// StringPartialMapFormatValues returns every known StringPartialMapFormat value in schema order. +func StringPartialMapFormatValues() []StringPartialMapFormat { + return []StringPartialMapFormat{ + StringPartialMapFormatInitialDraftVersion, + StringPartialMapFormatUnderReview, + StringPartialMapFormatLivePublishedContent, + StringPartialMapFormatArchivedOld, + } +} func (e *StringPartialMapFormat) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -126,6 +158,16 @@ const ( func (e IntegerMapFormat) ToPointer() *IntegerMapFormat { return &e } + +// IntegerMapFormatValues returns every known IntegerMapFormat value in schema order. +func IntegerMapFormatValues() []IntegerMapFormat { + return []IntegerMapFormat{ + IntegerMapFormatContinueProcessingRequest, + IntegerMapFormatSuccessfulOperationComplete, + IntegerMapFormatRedirectToAnotherLocation, + IntegerMapFormatClientSideErrorOccurred, + } +} func (e *IntegerMapFormat) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -160,6 +202,17 @@ const ( func (e IntegerPartialMapFormat) ToPointer() *IntegerPartialMapFormat { return &e } + +// IntegerPartialMapFormatValues returns every known IntegerPartialMapFormat value in schema order. +func IntegerPartialMapFormatValues() []IntegerPartialMapFormat { + return []IntegerPartialMapFormat{ + IntegerPartialMapFormatPrimaryFirstOption, + IntegerPartialMapFormatTwo, + IntegerPartialMapFormatMiddleThirdChoice, + IntegerPartialMapFormatFour, + IntegerPartialMapFormatFinalFifthSelection, + } +} func (e *IntegerPartialMapFormat) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/.speakeasy/gen.lock b/zSDKs/terraform-provider-testing/.speakeasy/gen.lock index e675576db..e67c1e15b 100644 --- a/zSDKs/terraform-provider-testing/.speakeasy/gen.lock +++ b/zSDKs/terraform-provider-testing/.speakeasy/gen.lock @@ -2484,7 +2484,7 @@ trackedFiles: internal/sdk/models/operations/createframeworktype.go: last_write_checksum: sha1:1473ee200106e11a09d436f415f66f8032147fec internal/sdk/models/operations/createimportdefaultedid.go: - last_write_checksum: sha1:e6bafbcdd061dace291c8868c4f09f5550229c06 + last_write_checksum: sha1:4fe2952c24f5c65a6870fdbfc1613190891d6d14 internal/sdk/models/operations/createimportidenumstring.go: last_write_checksum: sha1:e6aff15e1e450a453ee5a3114b439a1f3ec6ac72 internal/sdk/models/operations/createimportidint32.go: @@ -2636,9 +2636,9 @@ trackedFiles: internal/sdk/models/operations/deleteframeworktype.go: last_write_checksum: sha1:cb1ec4b73bcc82a659f952ab412d978c3378dffb internal/sdk/models/operations/deleteimportdefaultedid.go: - last_write_checksum: sha1:7fa0087efbb1e4e6689211ca620efefcda531e72 + last_write_checksum: sha1:abf62823ca7c045884ad0c51a18d150a7b847586 internal/sdk/models/operations/deleteimportidenumstring.go: - last_write_checksum: sha1:8dfef5bf1d30e610127bd0665fbf1ff5adedbfd3 + last_write_checksum: sha1:373420470fe87308e185929e22ae74af5da331da internal/sdk/models/operations/deleteimportidint32.go: last_write_checksum: sha1:09bac109d78f9cfe248194b1c9dd550a230c01f1 internal/sdk/models/operations/deleteimportidint64.go: @@ -2780,9 +2780,9 @@ trackedFiles: internal/sdk/models/operations/getframeworktype.go: last_write_checksum: sha1:a766fb78f32a52bcca85fcbf206712c6ed0f9f00 internal/sdk/models/operations/getimportdefaultedid.go: - last_write_checksum: sha1:93856b2bf51efaf2c110f062fc3a06e356c422a1 + last_write_checksum: sha1:490b5f740241365eac7647e14405024c0d023461 internal/sdk/models/operations/getimportidenumstring.go: - last_write_checksum: sha1:d71cb665d543afccd4dfcfee12af1605c62ec001 + last_write_checksum: sha1:5108609e0b81c69f82be417f0814e7754b2f353d internal/sdk/models/operations/getimportidint32.go: last_write_checksum: sha1:15dc2ef3d6e8475edad6219b0c733ed550ebff69 internal/sdk/models/operations/getimportidint64.go: @@ -3120,9 +3120,9 @@ trackedFiles: internal/sdk/models/shared/basicsearch.go: last_write_checksum: sha1:ebc8943a31148f7623c5f8ff940dd81c1b52f23d internal/sdk/models/shared/constcontainerrequest.go: - last_write_checksum: sha1:1cf8e117d1b1a8ce9fe2a7e36bcb59eb6052a12e + last_write_checksum: sha1:2fd75bcb3bd848d262f1a2a06dd634f8f277de61 internal/sdk/models/shared/constcontainerresponse.go: - last_write_checksum: sha1:ab518fe68f26a5fc1ee473a2fc1d47ffa571efd3 + last_write_checksum: sha1:bc55c3906ff2fb82b33bf841af672f749864e639 internal/sdk/models/shared/constemptysetdeletegroup.go: last_write_checksum: sha1:d33860be5d32e993a1907c5f4a9b85f849357a8e internal/sdk/models/shared/constemptysetdeleterequest.go: @@ -3174,17 +3174,17 @@ trackedFiles: internal/sdk/models/shared/discriminatedunionupdaterequest.go: last_write_checksum: sha1:cd5ec0c9a8593ff008819d5dfcb1a33d8eaef9d1 internal/sdk/models/shared/frameworktyperequest.go: - last_write_checksum: sha1:3ca83f0e972a631c2f41ca88ed8ff000b5c669ed + last_write_checksum: sha1:d9b52c7642c6c1349de5e70f9816bf496e561a51 internal/sdk/models/shared/frameworktyperesponse.go: - last_write_checksum: sha1:940d4653a779d638a5bac432e795dd5060098d50 + last_write_checksum: sha1:fd7e01a9ea3c0e59a88432dcd6d5d74f671ed24d internal/sdk/models/shared/globalenumint32.go: - last_write_checksum: sha1:8a491e8b3a7b2a68189501d66a387c715ad2d50f + last_write_checksum: sha1:84122120e9c5715abd8ddca81d54325fcf448c59 internal/sdk/models/shared/globalenumint64.go: - last_write_checksum: sha1:3881e88d45f4d4063b34541dac39bf1456693114 + last_write_checksum: sha1:9b5c07c3e87c3bf91dec28b29f9850ea8790d8c2 internal/sdk/models/shared/globalenuminteger.go: - last_write_checksum: sha1:883b03b0b38369abef3d5ef1877aec8efc5e9472 + last_write_checksum: sha1:3306d5b11911edfe500f420852fa84d63d640fa9 internal/sdk/models/shared/globalenumstring.go: - last_write_checksum: sha1:67206cfaee16690785fa23dc881543e87fa45f0f + last_write_checksum: sha1:60f7ef91063f14abb08626a5c88bfaa1ffaab8b4 internal/sdk/models/shared/importdefaultedidrequest.go: last_write_checksum: sha1:b8523186abdd14ed6fe995f5a9a93e7606c0a549 internal/sdk/models/shared/importdefaultedidresponse.go: @@ -3192,7 +3192,7 @@ trackedFiles: internal/sdk/models/shared/importidenumstringrequest.go: last_write_checksum: sha1:340524eb2b7b0d43485701dcbd8cf3ce9dc49951 internal/sdk/models/shared/importidenumstringresponse.go: - last_write_checksum: sha1:8c1de0ddbdfa27c45392be4c2d6a19920a8f9adf + last_write_checksum: sha1:09ae6ffeb297dae65e9f84eaf7524177bc48214d internal/sdk/models/shared/importidint32request.go: last_write_checksum: sha1:7069c9619ef197d3a93f537dc52656485b95857c internal/sdk/models/shared/importidint32response.go: @@ -3260,9 +3260,9 @@ trackedFiles: internal/sdk/models/shared/oasdeprecatedresponse.go: last_write_checksum: sha1:b21f0d505a5c35f0ef482bd82b78b57231e91b09 internal/sdk/models/shared/oasenumrequest.go: - last_write_checksum: sha1:274760195c8cf3768920587fa8761280f2deb7db + last_write_checksum: sha1:257f3269512c3ff49cffb6de0856188f616d0225 internal/sdk/models/shared/oasenumresponse.go: - last_write_checksum: sha1:ee9f7cdb52a6f181b16e9d072df1f5ae8a358454 + last_write_checksum: sha1:444064ae3f63c53086aa2ac7625042a6887da64d internal/sdk/models/shared/oasexamplerequest.go: last_write_checksum: sha1:0ea05b6a24e4aedf7d1a0d732b1ec86ce294d391 internal/sdk/models/shared/oasexampleresponse.go: @@ -3584,7 +3584,7 @@ trackedFiles: internal/sdk/models/shared/xpollingresponse.go: last_write_checksum: sha1:4d4a6510bcc9e2ffed5de72e8e0334fc658da073 internal/sdk/models/shared/xpollingstatus.go: - last_write_checksum: sha1:e076cfaffb1bd9144e7d8d9257a65a5338cdb856 + last_write_checksum: sha1:1adb99a8d9d6c419e111444dc47808d83f596072 internal/sdk/models/shared/xsoftdeletepropertyrequest.go: last_write_checksum: sha1:ea7277df82abdae2570da0ba2e625250df610131 internal/sdk/models/shared/xsoftdeletepropertyresponse.go: @@ -3610,9 +3610,9 @@ trackedFiles: internal/sdk/models/shared/xterraformwriteonlyresponse.go: last_write_checksum: sha1:22032cace3e7290addf79a680c639319ae890812 internal/sdk/models/shared/xunknownvaluesrequest.go: - last_write_checksum: sha1:e3aea5a190074ac7eac730732e6d3d0385b20efa + last_write_checksum: sha1:c161931d93e22c733dd388d653e84e746acaf5b7 internal/sdk/models/shared/xunknownvaluesresponse.go: - last_write_checksum: sha1:431b5fd2f3bfae4ad1f4aa1b41fc0d2170663e56 + last_write_checksum: sha1:adfdc8adfaadb6531a6a92f462aca324765013b6 internal/sdk/models/shared/xwrappedattributerequest.go: last_write_checksum: sha1:43700d18dd36878b71734c53320c67f590ef4335 internal/sdk/models/shared/xwrappedattributeresponse.go: @@ -3634,7 +3634,7 @@ trackedFiles: internal/sdk/retry/config.go: last_write_checksum: sha1:102d1953fbd7e9f312c4442c71ccca2eaaeaa27d internal/sdk/sdk.go: - last_write_checksum: sha1:cb8f4e761171f2f355a69d1cb043075c79f9fa20 + last_write_checksum: sha1:405df780852faf7ee12272c11e3c0bf37d66d2cd internal/sdk/types/bigint.go: last_write_checksum: sha1:49b004005d0461fb04b846eca062b070b0360b31 internal/sdk/types/date.go: diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/operations/createimportdefaultedid.go b/zSDKs/terraform-provider-testing/internal/sdk/models/operations/createimportdefaultedid.go index 401732c9b..92d994a52 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/operations/createimportdefaultedid.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/operations/createimportdefaultedid.go @@ -21,6 +21,14 @@ const ( func (e CreateImportDefaultedIDTier) ToPointer() *CreateImportDefaultedIDTier { return &e } + +// CreateImportDefaultedIDTierValues returns every known CreateImportDefaultedIDTier value in schema order. +func CreateImportDefaultedIDTierValues() []CreateImportDefaultedIDTier { + return []CreateImportDefaultedIDTier{ + CreateImportDefaultedIDTierBasic, + CreateImportDefaultedIDTierPremium, + } +} func (e *CreateImportDefaultedIDTier) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/operations/deleteimportdefaultedid.go b/zSDKs/terraform-provider-testing/internal/sdk/models/operations/deleteimportdefaultedid.go index 72dbc1087..112b21c77 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/operations/deleteimportdefaultedid.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/operations/deleteimportdefaultedid.go @@ -20,6 +20,14 @@ const ( func (e DeleteImportDefaultedIDTier) ToPointer() *DeleteImportDefaultedIDTier { return &e } + +// DeleteImportDefaultedIDTierValues returns every known DeleteImportDefaultedIDTier value in schema order. +func DeleteImportDefaultedIDTierValues() []DeleteImportDefaultedIDTier { + return []DeleteImportDefaultedIDTier{ + DeleteImportDefaultedIDTierBasic, + DeleteImportDefaultedIDTierPremium, + } +} func (e *DeleteImportDefaultedIDTier) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/operations/deleteimportidenumstring.go b/zSDKs/terraform-provider-testing/internal/sdk/models/operations/deleteimportidenumstring.go index 38ab95914..ac3cc0ea1 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/operations/deleteimportidenumstring.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/operations/deleteimportidenumstring.go @@ -20,6 +20,13 @@ const ( func (e DeleteImportIDEnumStringID) ToPointer() *DeleteImportIDEnumStringID { return &e } + +// DeleteImportIDEnumStringIDValues returns every known DeleteImportIDEnumStringID value in schema order. +func DeleteImportIDEnumStringIDValues() []DeleteImportIDEnumStringID { + return []DeleteImportIDEnumStringID{ + DeleteImportIDEnumStringIDDefault, + } +} func (e *DeleteImportIDEnumStringID) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/operations/getimportdefaultedid.go b/zSDKs/terraform-provider-testing/internal/sdk/models/operations/getimportdefaultedid.go index 72ae7f4c3..5dc4dc1a8 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/operations/getimportdefaultedid.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/operations/getimportdefaultedid.go @@ -21,6 +21,14 @@ const ( func (e GetImportDefaultedIDTier) ToPointer() *GetImportDefaultedIDTier { return &e } + +// GetImportDefaultedIDTierValues returns every known GetImportDefaultedIDTier value in schema order. +func GetImportDefaultedIDTierValues() []GetImportDefaultedIDTier { + return []GetImportDefaultedIDTier{ + GetImportDefaultedIDTierBasic, + GetImportDefaultedIDTierPremium, + } +} func (e *GetImportDefaultedIDTier) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/operations/getimportidenumstring.go b/zSDKs/terraform-provider-testing/internal/sdk/models/operations/getimportidenumstring.go index 69cf1827d..40aa9ae7a 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/operations/getimportidenumstring.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/operations/getimportidenumstring.go @@ -21,6 +21,13 @@ const ( func (e GetImportIDEnumStringID) ToPointer() *GetImportIDEnumStringID { return &e } + +// GetImportIDEnumStringIDValues returns every known GetImportIDEnumStringID value in schema order. +func GetImportIDEnumStringIDValues() []GetImportIDEnumStringID { + return []GetImportIDEnumStringID{ + GetImportIDEnumStringIDDefault, + } +} func (e *GetImportIDEnumStringID) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/constcontainerrequest.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/constcontainerrequest.go index bafd010c4..1844c22d9 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/constcontainerrequest.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/constcontainerrequest.go @@ -19,6 +19,15 @@ const ( func (e ConstContainerRequestFixedList) ToPointer() *ConstContainerRequestFixedList { return &e } + +// ConstContainerRequestFixedListValues returns every known ConstContainerRequestFixedList value in schema order. +func ConstContainerRequestFixedListValues() []ConstContainerRequestFixedList { + return []ConstContainerRequestFixedList{ + ConstContainerRequestFixedListRead, + ConstContainerRequestFixedListWrite, + ConstContainerRequestFixedListAdmin, + } +} func (e *ConstContainerRequestFixedList) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/constcontainerresponse.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/constcontainerresponse.go index e5dffde43..60c9937d5 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/constcontainerresponse.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/constcontainerresponse.go @@ -19,6 +19,15 @@ const ( func (e ConstContainerResponseFixedList) ToPointer() *ConstContainerResponseFixedList { return &e } + +// ConstContainerResponseFixedListValues returns every known ConstContainerResponseFixedList value in schema order. +func ConstContainerResponseFixedListValues() []ConstContainerResponseFixedList { + return []ConstContainerResponseFixedList{ + ConstContainerResponseFixedListRead, + ConstContainerResponseFixedListWrite, + ConstContainerResponseFixedListAdmin, + } +} func (e *ConstContainerResponseFixedList) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/frameworktyperequest.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/frameworktyperequest.go index 061c026b6..0e48a5876 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/frameworktyperequest.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/frameworktyperequest.go @@ -21,6 +21,14 @@ const ( func (e FrameworkTypeRequestListEnumInt32) ToPointer() *FrameworkTypeRequestListEnumInt32 { return &e } + +// FrameworkTypeRequestListEnumInt32Values returns every known FrameworkTypeRequestListEnumInt32 value in schema order. +func FrameworkTypeRequestListEnumInt32Values() []FrameworkTypeRequestListEnumInt32 { + return []FrameworkTypeRequestListEnumInt32{ + FrameworkTypeRequestListEnumInt32One, + FrameworkTypeRequestListEnumInt32Two, + } +} func (e *FrameworkTypeRequestListEnumInt32) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -47,6 +55,14 @@ const ( func (e FrameworkTypeRequestListEnumInt64) ToPointer() *FrameworkTypeRequestListEnumInt64 { return &e } + +// FrameworkTypeRequestListEnumInt64Values returns every known FrameworkTypeRequestListEnumInt64 value in schema order. +func FrameworkTypeRequestListEnumInt64Values() []FrameworkTypeRequestListEnumInt64 { + return []FrameworkTypeRequestListEnumInt64{ + FrameworkTypeRequestListEnumInt64One, + FrameworkTypeRequestListEnumInt64Two, + } +} func (e *FrameworkTypeRequestListEnumInt64) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -73,6 +89,14 @@ const ( func (e FrameworkTypeRequestListEnumInteger) ToPointer() *FrameworkTypeRequestListEnumInteger { return &e } + +// FrameworkTypeRequestListEnumIntegerValues returns every known FrameworkTypeRequestListEnumInteger value in schema order. +func FrameworkTypeRequestListEnumIntegerValues() []FrameworkTypeRequestListEnumInteger { + return []FrameworkTypeRequestListEnumInteger{ + FrameworkTypeRequestListEnumIntegerOne, + FrameworkTypeRequestListEnumIntegerTwo, + } +} func (e *FrameworkTypeRequestListEnumInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -99,6 +123,14 @@ const ( func (e FrameworkTypeRequestListEnumString) ToPointer() *FrameworkTypeRequestListEnumString { return &e } + +// FrameworkTypeRequestListEnumStringValues returns every known FrameworkTypeRequestListEnumString value in schema order. +func FrameworkTypeRequestListEnumStringValues() []FrameworkTypeRequestListEnumString { + return []FrameworkTypeRequestListEnumString{ + FrameworkTypeRequestListEnumStringValue1, + FrameworkTypeRequestListEnumStringValue2, + } +} func (e *FrameworkTypeRequestListEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -726,6 +758,14 @@ const ( func (e FrameworkTypeRequestListNullEnumString) ToPointer() *FrameworkTypeRequestListNullEnumString { return &e } + +// FrameworkTypeRequestListNullEnumStringValues returns every known FrameworkTypeRequestListNullEnumString value in schema order. +func FrameworkTypeRequestListNullEnumStringValues() []FrameworkTypeRequestListNullEnumString { + return []FrameworkTypeRequestListNullEnumString{ + FrameworkTypeRequestListNullEnumStringValue1, + FrameworkTypeRequestListNullEnumStringValue2, + } +} func (e *FrameworkTypeRequestListNullEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -859,6 +899,14 @@ const ( func (e FrameworkTypeRequestListNullableEnumString) ToPointer() *FrameworkTypeRequestListNullableEnumString { return &e } + +// FrameworkTypeRequestListNullableEnumStringValues returns every known FrameworkTypeRequestListNullableEnumString value in schema order. +func FrameworkTypeRequestListNullableEnumStringValues() []FrameworkTypeRequestListNullableEnumString { + return []FrameworkTypeRequestListNullableEnumString{ + FrameworkTypeRequestListNullableEnumStringValue1, + FrameworkTypeRequestListNullableEnumStringValue2, + } +} func (e *FrameworkTypeRequestListNullableEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1311,6 +1359,14 @@ const ( func (e FrameworkTypeRequestSetEnumInt32) ToPointer() *FrameworkTypeRequestSetEnumInt32 { return &e } + +// FrameworkTypeRequestSetEnumInt32Values returns every known FrameworkTypeRequestSetEnumInt32 value in schema order. +func FrameworkTypeRequestSetEnumInt32Values() []FrameworkTypeRequestSetEnumInt32 { + return []FrameworkTypeRequestSetEnumInt32{ + FrameworkTypeRequestSetEnumInt32One, + FrameworkTypeRequestSetEnumInt32Two, + } +} func (e *FrameworkTypeRequestSetEnumInt32) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1337,6 +1393,14 @@ const ( func (e FrameworkTypeRequestSetEnumInt64) ToPointer() *FrameworkTypeRequestSetEnumInt64 { return &e } + +// FrameworkTypeRequestSetEnumInt64Values returns every known FrameworkTypeRequestSetEnumInt64 value in schema order. +func FrameworkTypeRequestSetEnumInt64Values() []FrameworkTypeRequestSetEnumInt64 { + return []FrameworkTypeRequestSetEnumInt64{ + FrameworkTypeRequestSetEnumInt64One, + FrameworkTypeRequestSetEnumInt64Two, + } +} func (e *FrameworkTypeRequestSetEnumInt64) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1363,6 +1427,14 @@ const ( func (e FrameworkTypeRequestSetEnumInteger) ToPointer() *FrameworkTypeRequestSetEnumInteger { return &e } + +// FrameworkTypeRequestSetEnumIntegerValues returns every known FrameworkTypeRequestSetEnumInteger value in schema order. +func FrameworkTypeRequestSetEnumIntegerValues() []FrameworkTypeRequestSetEnumInteger { + return []FrameworkTypeRequestSetEnumInteger{ + FrameworkTypeRequestSetEnumIntegerOne, + FrameworkTypeRequestSetEnumIntegerTwo, + } +} func (e *FrameworkTypeRequestSetEnumInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1389,6 +1461,14 @@ const ( func (e FrameworkTypeRequestSetEnumString) ToPointer() *FrameworkTypeRequestSetEnumString { return &e } + +// FrameworkTypeRequestSetEnumStringValues returns every known FrameworkTypeRequestSetEnumString value in schema order. +func FrameworkTypeRequestSetEnumStringValues() []FrameworkTypeRequestSetEnumString { + return []FrameworkTypeRequestSetEnumString{ + FrameworkTypeRequestSetEnumStringValue1, + FrameworkTypeRequestSetEnumStringValue2, + } +} func (e *FrameworkTypeRequestSetEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2016,6 +2096,14 @@ const ( func (e FrameworkTypeRequestSetNullEnumString) ToPointer() *FrameworkTypeRequestSetNullEnumString { return &e } + +// FrameworkTypeRequestSetNullEnumStringValues returns every known FrameworkTypeRequestSetNullEnumString value in schema order. +func FrameworkTypeRequestSetNullEnumStringValues() []FrameworkTypeRequestSetNullEnumString { + return []FrameworkTypeRequestSetNullEnumString{ + FrameworkTypeRequestSetNullEnumStringValue1, + FrameworkTypeRequestSetNullEnumStringValue2, + } +} func (e *FrameworkTypeRequestSetNullEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2149,6 +2237,14 @@ const ( func (e FrameworkTypeRequestSetNullableEnumString) ToPointer() *FrameworkTypeRequestSetNullableEnumString { return &e } + +// FrameworkTypeRequestSetNullableEnumStringValues returns every known FrameworkTypeRequestSetNullableEnumString value in schema order. +func FrameworkTypeRequestSetNullableEnumStringValues() []FrameworkTypeRequestSetNullableEnumString { + return []FrameworkTypeRequestSetNullableEnumString{ + FrameworkTypeRequestSetNullableEnumStringValue1, + FrameworkTypeRequestSetNullableEnumStringValue2, + } +} func (e *FrameworkTypeRequestSetNullableEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/frameworktyperesponse.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/frameworktyperesponse.go index 1caa9cf16..22b4d3264 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/frameworktyperesponse.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/frameworktyperesponse.go @@ -21,6 +21,14 @@ const ( func (e FrameworkTypeResponseListEnumInt32) ToPointer() *FrameworkTypeResponseListEnumInt32 { return &e } + +// FrameworkTypeResponseListEnumInt32Values returns every known FrameworkTypeResponseListEnumInt32 value in schema order. +func FrameworkTypeResponseListEnumInt32Values() []FrameworkTypeResponseListEnumInt32 { + return []FrameworkTypeResponseListEnumInt32{ + FrameworkTypeResponseListEnumInt32One, + FrameworkTypeResponseListEnumInt32Two, + } +} func (e *FrameworkTypeResponseListEnumInt32) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -47,6 +55,14 @@ const ( func (e FrameworkTypeResponseListEnumInt64) ToPointer() *FrameworkTypeResponseListEnumInt64 { return &e } + +// FrameworkTypeResponseListEnumInt64Values returns every known FrameworkTypeResponseListEnumInt64 value in schema order. +func FrameworkTypeResponseListEnumInt64Values() []FrameworkTypeResponseListEnumInt64 { + return []FrameworkTypeResponseListEnumInt64{ + FrameworkTypeResponseListEnumInt64One, + FrameworkTypeResponseListEnumInt64Two, + } +} func (e *FrameworkTypeResponseListEnumInt64) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -73,6 +89,14 @@ const ( func (e FrameworkTypeResponseListEnumInteger) ToPointer() *FrameworkTypeResponseListEnumInteger { return &e } + +// FrameworkTypeResponseListEnumIntegerValues returns every known FrameworkTypeResponseListEnumInteger value in schema order. +func FrameworkTypeResponseListEnumIntegerValues() []FrameworkTypeResponseListEnumInteger { + return []FrameworkTypeResponseListEnumInteger{ + FrameworkTypeResponseListEnumIntegerOne, + FrameworkTypeResponseListEnumIntegerTwo, + } +} func (e *FrameworkTypeResponseListEnumInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -99,6 +123,14 @@ const ( func (e FrameworkTypeResponseListEnumString) ToPointer() *FrameworkTypeResponseListEnumString { return &e } + +// FrameworkTypeResponseListEnumStringValues returns every known FrameworkTypeResponseListEnumString value in schema order. +func FrameworkTypeResponseListEnumStringValues() []FrameworkTypeResponseListEnumString { + return []FrameworkTypeResponseListEnumString{ + FrameworkTypeResponseListEnumStringValue1, + FrameworkTypeResponseListEnumStringValue2, + } +} func (e *FrameworkTypeResponseListEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -438,6 +470,14 @@ const ( func (e FrameworkTypeResponseListNullEnumString) ToPointer() *FrameworkTypeResponseListNullEnumString { return &e } + +// FrameworkTypeResponseListNullEnumStringValues returns every known FrameworkTypeResponseListNullEnumString value in schema order. +func FrameworkTypeResponseListNullEnumStringValues() []FrameworkTypeResponseListNullEnumString { + return []FrameworkTypeResponseListNullEnumString{ + FrameworkTypeResponseListNullEnumStringValue1, + FrameworkTypeResponseListNullEnumStringValue2, + } +} func (e *FrameworkTypeResponseListNullEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -571,6 +611,14 @@ const ( func (e FrameworkTypeResponseListNullableEnumString) ToPointer() *FrameworkTypeResponseListNullableEnumString { return &e } + +// FrameworkTypeResponseListNullableEnumStringValues returns every known FrameworkTypeResponseListNullableEnumString value in schema order. +func FrameworkTypeResponseListNullableEnumStringValues() []FrameworkTypeResponseListNullableEnumString { + return []FrameworkTypeResponseListNullableEnumString{ + FrameworkTypeResponseListNullableEnumStringValue1, + FrameworkTypeResponseListNullableEnumStringValue2, + } +} func (e *FrameworkTypeResponseListNullableEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1017,6 +1065,14 @@ const ( func (e FrameworkTypeResponseSetEnumInt32) ToPointer() *FrameworkTypeResponseSetEnumInt32 { return &e } + +// FrameworkTypeResponseSetEnumInt32Values returns every known FrameworkTypeResponseSetEnumInt32 value in schema order. +func FrameworkTypeResponseSetEnumInt32Values() []FrameworkTypeResponseSetEnumInt32 { + return []FrameworkTypeResponseSetEnumInt32{ + FrameworkTypeResponseSetEnumInt32One, + FrameworkTypeResponseSetEnumInt32Two, + } +} func (e *FrameworkTypeResponseSetEnumInt32) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1043,6 +1099,14 @@ const ( func (e FrameworkTypeResponseSetEnumInt64) ToPointer() *FrameworkTypeResponseSetEnumInt64 { return &e } + +// FrameworkTypeResponseSetEnumInt64Values returns every known FrameworkTypeResponseSetEnumInt64 value in schema order. +func FrameworkTypeResponseSetEnumInt64Values() []FrameworkTypeResponseSetEnumInt64 { + return []FrameworkTypeResponseSetEnumInt64{ + FrameworkTypeResponseSetEnumInt64One, + FrameworkTypeResponseSetEnumInt64Two, + } +} func (e *FrameworkTypeResponseSetEnumInt64) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1069,6 +1133,14 @@ const ( func (e FrameworkTypeResponseSetEnumInteger) ToPointer() *FrameworkTypeResponseSetEnumInteger { return &e } + +// FrameworkTypeResponseSetEnumIntegerValues returns every known FrameworkTypeResponseSetEnumInteger value in schema order. +func FrameworkTypeResponseSetEnumIntegerValues() []FrameworkTypeResponseSetEnumInteger { + return []FrameworkTypeResponseSetEnumInteger{ + FrameworkTypeResponseSetEnumIntegerOne, + FrameworkTypeResponseSetEnumIntegerTwo, + } +} func (e *FrameworkTypeResponseSetEnumInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1095,6 +1167,14 @@ const ( func (e FrameworkTypeResponseSetEnumString) ToPointer() *FrameworkTypeResponseSetEnumString { return &e } + +// FrameworkTypeResponseSetEnumStringValues returns every known FrameworkTypeResponseSetEnumString value in schema order. +func FrameworkTypeResponseSetEnumStringValues() []FrameworkTypeResponseSetEnumString { + return []FrameworkTypeResponseSetEnumString{ + FrameworkTypeResponseSetEnumStringValue1, + FrameworkTypeResponseSetEnumStringValue2, + } +} func (e *FrameworkTypeResponseSetEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1434,6 +1514,14 @@ const ( func (e FrameworkTypeResponseSetNullEnumString) ToPointer() *FrameworkTypeResponseSetNullEnumString { return &e } + +// FrameworkTypeResponseSetNullEnumStringValues returns every known FrameworkTypeResponseSetNullEnumString value in schema order. +func FrameworkTypeResponseSetNullEnumStringValues() []FrameworkTypeResponseSetNullEnumString { + return []FrameworkTypeResponseSetNullEnumString{ + FrameworkTypeResponseSetNullEnumStringValue1, + FrameworkTypeResponseSetNullEnumStringValue2, + } +} func (e *FrameworkTypeResponseSetNullEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1567,6 +1655,14 @@ const ( func (e FrameworkTypeResponseSetNullableEnumString) ToPointer() *FrameworkTypeResponseSetNullableEnumString { return &e } + +// FrameworkTypeResponseSetNullableEnumStringValues returns every known FrameworkTypeResponseSetNullableEnumString value in schema order. +func FrameworkTypeResponseSetNullableEnumStringValues() []FrameworkTypeResponseSetNullableEnumString { + return []FrameworkTypeResponseSetNullableEnumString{ + FrameworkTypeResponseSetNullableEnumStringValue1, + FrameworkTypeResponseSetNullableEnumStringValue2, + } +} func (e *FrameworkTypeResponseSetNullableEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumint32.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumint32.go index 657fd0981..36992f76f 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumint32.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumint32.go @@ -17,6 +17,14 @@ const ( func (e GlobalEnumInt32) ToPointer() *GlobalEnumInt32 { return &e } + +// GlobalEnumInt32Values returns every known GlobalEnumInt32 value in schema order. +func GlobalEnumInt32Values() []GlobalEnumInt32 { + return []GlobalEnumInt32{ + GlobalEnumInt32One, + GlobalEnumInt32Two, + } +} func (e *GlobalEnumInt32) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumint64.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumint64.go index cfbbc5524..22405b012 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumint64.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumint64.go @@ -17,6 +17,14 @@ const ( func (e GlobalEnumInt64) ToPointer() *GlobalEnumInt64 { return &e } + +// GlobalEnumInt64Values returns every known GlobalEnumInt64 value in schema order. +func GlobalEnumInt64Values() []GlobalEnumInt64 { + return []GlobalEnumInt64{ + GlobalEnumInt64Three, + GlobalEnumInt64Four, + } +} func (e *GlobalEnumInt64) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenuminteger.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenuminteger.go index 649e54e4c..ff3f6488e 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenuminteger.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenuminteger.go @@ -17,6 +17,14 @@ const ( func (e GlobalEnumInteger) ToPointer() *GlobalEnumInteger { return &e } + +// GlobalEnumIntegerValues returns every known GlobalEnumInteger value in schema order. +func GlobalEnumIntegerValues() []GlobalEnumInteger { + return []GlobalEnumInteger{ + GlobalEnumIntegerFive, + GlobalEnumIntegerSix, + } +} func (e *GlobalEnumInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumstring.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumstring.go index 12d01e3a7..9927735bb 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumstring.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/globalenumstring.go @@ -17,6 +17,14 @@ const ( func (e GlobalEnumString) ToPointer() *GlobalEnumString { return &e } + +// GlobalEnumStringValues returns every known GlobalEnumString value in schema order. +func GlobalEnumStringValues() []GlobalEnumString { + return []GlobalEnumString{ + GlobalEnumStringValue1, + GlobalEnumStringValue2, + } +} func (e *GlobalEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/importidenumstringresponse.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/importidenumstringresponse.go index 8fa507c9b..dfbb2acbc 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/importidenumstringresponse.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/importidenumstringresponse.go @@ -17,6 +17,13 @@ const ( func (e ID) ToPointer() *ID { return &e } + +// IDValues returns every known ID value in schema order. +func IDValues() []ID { + return []ID{ + IDDefault, + } +} func (e *ID) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/oasenumrequest.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/oasenumrequest.go index 447ad743c..8835756cd 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/oasenumrequest.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/oasenumrequest.go @@ -18,6 +18,14 @@ const ( func (e OASEnumRequestInt32EnumRequestInt32EnumResponse) ToPointer() *OASEnumRequestInt32EnumRequestInt32EnumResponse { return &e } + +// OASEnumRequestInt32EnumRequestInt32EnumResponseValues returns every known OASEnumRequestInt32EnumRequestInt32EnumResponse value in schema order. +func OASEnumRequestInt32EnumRequestInt32EnumResponseValues() []OASEnumRequestInt32EnumRequestInt32EnumResponse { + return []OASEnumRequestInt32EnumRequestInt32EnumResponse{ + OASEnumRequestInt32EnumRequestInt32EnumResponseOne, + OASEnumRequestInt32EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumRequestInt32EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -45,6 +53,14 @@ const ( func (e Int32EnumRequestInt32NoenumResponse) ToPointer() *Int32EnumRequestInt32NoenumResponse { return &e } + +// Int32EnumRequestInt32NoenumResponseValues returns every known Int32EnumRequestInt32NoenumResponse value in schema order. +func Int32EnumRequestInt32NoenumResponseValues() []Int32EnumRequestInt32NoenumResponse { + return []Int32EnumRequestInt32NoenumResponse{ + Int32EnumRequestInt32NoenumResponseOne, + Int32EnumRequestInt32NoenumResponseTwo, + } +} func (e *Int32EnumRequestInt32NoenumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -72,6 +88,14 @@ const ( func (e OASEnumRequestInt32EnumRequestInt64EnumResponse) ToPointer() *OASEnumRequestInt32EnumRequestInt64EnumResponse { return &e } + +// OASEnumRequestInt32EnumRequestInt64EnumResponseValues returns every known OASEnumRequestInt32EnumRequestInt64EnumResponse value in schema order. +func OASEnumRequestInt32EnumRequestInt64EnumResponseValues() []OASEnumRequestInt32EnumRequestInt64EnumResponse { + return []OASEnumRequestInt32EnumRequestInt64EnumResponse{ + OASEnumRequestInt32EnumRequestInt64EnumResponseOne, + OASEnumRequestInt32EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumRequestInt32EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -99,6 +123,14 @@ const ( func (e Int32EnumRequestInt64NoenumResponse) ToPointer() *Int32EnumRequestInt64NoenumResponse { return &e } + +// Int32EnumRequestInt64NoenumResponseValues returns every known Int32EnumRequestInt64NoenumResponse value in schema order. +func Int32EnumRequestInt64NoenumResponseValues() []Int32EnumRequestInt64NoenumResponse { + return []Int32EnumRequestInt64NoenumResponse{ + Int32EnumRequestInt64NoenumResponseOne, + Int32EnumRequestInt64NoenumResponseTwo, + } +} func (e *Int32EnumRequestInt64NoenumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -126,6 +158,14 @@ const ( func (e OASEnumRequestInt32EnumRequestIntegerEnumResponse) ToPointer() *OASEnumRequestInt32EnumRequestIntegerEnumResponse { return &e } + +// OASEnumRequestInt32EnumRequestIntegerEnumResponseValues returns every known OASEnumRequestInt32EnumRequestIntegerEnumResponse value in schema order. +func OASEnumRequestInt32EnumRequestIntegerEnumResponseValues() []OASEnumRequestInt32EnumRequestIntegerEnumResponse { + return []OASEnumRequestInt32EnumRequestIntegerEnumResponse{ + OASEnumRequestInt32EnumRequestIntegerEnumResponseOne, + OASEnumRequestInt32EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumRequestInt32EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -153,6 +193,14 @@ const ( func (e Int32EnumRequestIntegerNoenumResponse) ToPointer() *Int32EnumRequestIntegerNoenumResponse { return &e } + +// Int32EnumRequestIntegerNoenumResponseValues returns every known Int32EnumRequestIntegerNoenumResponse value in schema order. +func Int32EnumRequestIntegerNoenumResponseValues() []Int32EnumRequestIntegerNoenumResponse { + return []Int32EnumRequestIntegerNoenumResponse{ + Int32EnumRequestIntegerNoenumResponseOne, + Int32EnumRequestIntegerNoenumResponseTwo, + } +} func (e *Int32EnumRequestIntegerNoenumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -185,6 +233,19 @@ const ( func (e Int32LongEnum) ToPointer() *Int32LongEnum { return &e } + +// Int32LongEnumValues returns every known Int32LongEnum value in schema order. +func Int32LongEnumValues() []Int32LongEnum { + return []Int32LongEnum{ + Int32LongEnumOneBillion, + Int32LongEnumOneBillionAndOne, + Int32LongEnumOneBillionAndTwo, + Int32LongEnumOneBillionAndThree, + Int32LongEnumOneBillionAndFour, + Int32LongEnumOneBillionAndFive, + Int32LongEnumOneBillionAndSix, + } +} func (e *Int32LongEnum) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -222,6 +283,14 @@ const ( func (e OASEnumRequestInt64EnumRequestInt32EnumResponse) ToPointer() *OASEnumRequestInt64EnumRequestInt32EnumResponse { return &e } + +// OASEnumRequestInt64EnumRequestInt32EnumResponseValues returns every known OASEnumRequestInt64EnumRequestInt32EnumResponse value in schema order. +func OASEnumRequestInt64EnumRequestInt32EnumResponseValues() []OASEnumRequestInt64EnumRequestInt32EnumResponse { + return []OASEnumRequestInt64EnumRequestInt32EnumResponse{ + OASEnumRequestInt64EnumRequestInt32EnumResponseOne, + OASEnumRequestInt64EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumRequestInt64EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -249,6 +318,14 @@ const ( func (e Int64EnumRequestInt32NoenumResponse) ToPointer() *Int64EnumRequestInt32NoenumResponse { return &e } + +// Int64EnumRequestInt32NoenumResponseValues returns every known Int64EnumRequestInt32NoenumResponse value in schema order. +func Int64EnumRequestInt32NoenumResponseValues() []Int64EnumRequestInt32NoenumResponse { + return []Int64EnumRequestInt32NoenumResponse{ + Int64EnumRequestInt32NoenumResponseOne, + Int64EnumRequestInt32NoenumResponseTwo, + } +} func (e *Int64EnumRequestInt32NoenumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -276,6 +353,14 @@ const ( func (e OASEnumRequestInt64EnumRequestInt64EnumResponse) ToPointer() *OASEnumRequestInt64EnumRequestInt64EnumResponse { return &e } + +// OASEnumRequestInt64EnumRequestInt64EnumResponseValues returns every known OASEnumRequestInt64EnumRequestInt64EnumResponse value in schema order. +func OASEnumRequestInt64EnumRequestInt64EnumResponseValues() []OASEnumRequestInt64EnumRequestInt64EnumResponse { + return []OASEnumRequestInt64EnumRequestInt64EnumResponse{ + OASEnumRequestInt64EnumRequestInt64EnumResponseOne, + OASEnumRequestInt64EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumRequestInt64EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -303,6 +388,14 @@ const ( func (e Int64EnumRequestInt64NoenumResponse) ToPointer() *Int64EnumRequestInt64NoenumResponse { return &e } + +// Int64EnumRequestInt64NoenumResponseValues returns every known Int64EnumRequestInt64NoenumResponse value in schema order. +func Int64EnumRequestInt64NoenumResponseValues() []Int64EnumRequestInt64NoenumResponse { + return []Int64EnumRequestInt64NoenumResponse{ + Int64EnumRequestInt64NoenumResponseOne, + Int64EnumRequestInt64NoenumResponseTwo, + } +} func (e *Int64EnumRequestInt64NoenumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -330,6 +423,14 @@ const ( func (e OASEnumRequestInt64EnumRequestIntegerEnumResponse) ToPointer() *OASEnumRequestInt64EnumRequestIntegerEnumResponse { return &e } + +// OASEnumRequestInt64EnumRequestIntegerEnumResponseValues returns every known OASEnumRequestInt64EnumRequestIntegerEnumResponse value in schema order. +func OASEnumRequestInt64EnumRequestIntegerEnumResponseValues() []OASEnumRequestInt64EnumRequestIntegerEnumResponse { + return []OASEnumRequestInt64EnumRequestIntegerEnumResponse{ + OASEnumRequestInt64EnumRequestIntegerEnumResponseOne, + OASEnumRequestInt64EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumRequestInt64EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -357,6 +458,14 @@ const ( func (e Int64EnumRequestIntegerNoenumResponse) ToPointer() *Int64EnumRequestIntegerNoenumResponse { return &e } + +// Int64EnumRequestIntegerNoenumResponseValues returns every known Int64EnumRequestIntegerNoenumResponse value in schema order. +func Int64EnumRequestIntegerNoenumResponseValues() []Int64EnumRequestIntegerNoenumResponse { + return []Int64EnumRequestIntegerNoenumResponse{ + Int64EnumRequestIntegerNoenumResponseOne, + Int64EnumRequestIntegerNoenumResponseTwo, + } +} func (e *Int64EnumRequestIntegerNoenumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -383,6 +492,14 @@ const ( func (e OASEnumRequestListInt32EnumRequestInt32EnumResponse) ToPointer() *OASEnumRequestListInt32EnumRequestInt32EnumResponse { return &e } + +// OASEnumRequestListInt32EnumRequestInt32EnumResponseValues returns every known OASEnumRequestListInt32EnumRequestInt32EnumResponse value in schema order. +func OASEnumRequestListInt32EnumRequestInt32EnumResponseValues() []OASEnumRequestListInt32EnumRequestInt32EnumResponse { + return []OASEnumRequestListInt32EnumRequestInt32EnumResponse{ + OASEnumRequestListInt32EnumRequestInt32EnumResponseOne, + OASEnumRequestListInt32EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumRequestListInt32EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -409,6 +526,14 @@ const ( func (e OASEnumRequestListInt32EnumRequestInt32EnumResponseNullable) ToPointer() *OASEnumRequestListInt32EnumRequestInt32EnumResponseNullable { return &e } + +// OASEnumRequestListInt32EnumRequestInt32EnumResponseNullableValues returns every known OASEnumRequestListInt32EnumRequestInt32EnumResponseNullable value in schema order. +func OASEnumRequestListInt32EnumRequestInt32EnumResponseNullableValues() []OASEnumRequestListInt32EnumRequestInt32EnumResponseNullable { + return []OASEnumRequestListInt32EnumRequestInt32EnumResponseNullable{ + OASEnumRequestListInt32EnumRequestInt32EnumResponseNullableOne, + OASEnumRequestListInt32EnumRequestInt32EnumResponseNullableTwo, + } +} func (e *OASEnumRequestListInt32EnumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -435,6 +560,14 @@ const ( func (e ListInt32EnumRequestInt32NoenumResponse) ToPointer() *ListInt32EnumRequestInt32NoenumResponse { return &e } + +// ListInt32EnumRequestInt32NoenumResponseValues returns every known ListInt32EnumRequestInt32NoenumResponse value in schema order. +func ListInt32EnumRequestInt32NoenumResponseValues() []ListInt32EnumRequestInt32NoenumResponse { + return []ListInt32EnumRequestInt32NoenumResponse{ + ListInt32EnumRequestInt32NoenumResponseOne, + ListInt32EnumRequestInt32NoenumResponseTwo, + } +} func (e *ListInt32EnumRequestInt32NoenumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -461,6 +594,14 @@ const ( func (e ListInt32EnumRequestInt32NoenumResponseNullable) ToPointer() *ListInt32EnumRequestInt32NoenumResponseNullable { return &e } + +// ListInt32EnumRequestInt32NoenumResponseNullableValues returns every known ListInt32EnumRequestInt32NoenumResponseNullable value in schema order. +func ListInt32EnumRequestInt32NoenumResponseNullableValues() []ListInt32EnumRequestInt32NoenumResponseNullable { + return []ListInt32EnumRequestInt32NoenumResponseNullable{ + ListInt32EnumRequestInt32NoenumResponseNullableOne, + ListInt32EnumRequestInt32NoenumResponseNullableTwo, + } +} func (e *ListInt32EnumRequestInt32NoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -487,6 +628,14 @@ const ( func (e OASEnumRequestListInt32EnumRequestInt64EnumResponse) ToPointer() *OASEnumRequestListInt32EnumRequestInt64EnumResponse { return &e } + +// OASEnumRequestListInt32EnumRequestInt64EnumResponseValues returns every known OASEnumRequestListInt32EnumRequestInt64EnumResponse value in schema order. +func OASEnumRequestListInt32EnumRequestInt64EnumResponseValues() []OASEnumRequestListInt32EnumRequestInt64EnumResponse { + return []OASEnumRequestListInt32EnumRequestInt64EnumResponse{ + OASEnumRequestListInt32EnumRequestInt64EnumResponseOne, + OASEnumRequestListInt32EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumRequestListInt32EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -513,6 +662,14 @@ const ( func (e OASEnumRequestListInt32EnumRequestInt64EnumResponseNullable) ToPointer() *OASEnumRequestListInt32EnumRequestInt64EnumResponseNullable { return &e } + +// OASEnumRequestListInt32EnumRequestInt64EnumResponseNullableValues returns every known OASEnumRequestListInt32EnumRequestInt64EnumResponseNullable value in schema order. +func OASEnumRequestListInt32EnumRequestInt64EnumResponseNullableValues() []OASEnumRequestListInt32EnumRequestInt64EnumResponseNullable { + return []OASEnumRequestListInt32EnumRequestInt64EnumResponseNullable{ + OASEnumRequestListInt32EnumRequestInt64EnumResponseNullableOne, + OASEnumRequestListInt32EnumRequestInt64EnumResponseNullableTwo, + } +} func (e *OASEnumRequestListInt32EnumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -539,6 +696,14 @@ const ( func (e ListInt32EnumRequestInt64NoenumResponse) ToPointer() *ListInt32EnumRequestInt64NoenumResponse { return &e } + +// ListInt32EnumRequestInt64NoenumResponseValues returns every known ListInt32EnumRequestInt64NoenumResponse value in schema order. +func ListInt32EnumRequestInt64NoenumResponseValues() []ListInt32EnumRequestInt64NoenumResponse { + return []ListInt32EnumRequestInt64NoenumResponse{ + ListInt32EnumRequestInt64NoenumResponseOne, + ListInt32EnumRequestInt64NoenumResponseTwo, + } +} func (e *ListInt32EnumRequestInt64NoenumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -565,6 +730,14 @@ const ( func (e ListInt32EnumRequestInt64NoenumResponseNullable) ToPointer() *ListInt32EnumRequestInt64NoenumResponseNullable { return &e } + +// ListInt32EnumRequestInt64NoenumResponseNullableValues returns every known ListInt32EnumRequestInt64NoenumResponseNullable value in schema order. +func ListInt32EnumRequestInt64NoenumResponseNullableValues() []ListInt32EnumRequestInt64NoenumResponseNullable { + return []ListInt32EnumRequestInt64NoenumResponseNullable{ + ListInt32EnumRequestInt64NoenumResponseNullableOne, + ListInt32EnumRequestInt64NoenumResponseNullableTwo, + } +} func (e *ListInt32EnumRequestInt64NoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -591,6 +764,14 @@ const ( func (e OASEnumRequestListInt32EnumRequestIntegerEnumResponse) ToPointer() *OASEnumRequestListInt32EnumRequestIntegerEnumResponse { return &e } + +// OASEnumRequestListInt32EnumRequestIntegerEnumResponseValues returns every known OASEnumRequestListInt32EnumRequestIntegerEnumResponse value in schema order. +func OASEnumRequestListInt32EnumRequestIntegerEnumResponseValues() []OASEnumRequestListInt32EnumRequestIntegerEnumResponse { + return []OASEnumRequestListInt32EnumRequestIntegerEnumResponse{ + OASEnumRequestListInt32EnumRequestIntegerEnumResponseOne, + OASEnumRequestListInt32EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumRequestListInt32EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -617,6 +798,14 @@ const ( func (e OASEnumRequestListInt32EnumRequestIntegerEnumResponseNullable) ToPointer() *OASEnumRequestListInt32EnumRequestIntegerEnumResponseNullable { return &e } + +// OASEnumRequestListInt32EnumRequestIntegerEnumResponseNullableValues returns every known OASEnumRequestListInt32EnumRequestIntegerEnumResponseNullable value in schema order. +func OASEnumRequestListInt32EnumRequestIntegerEnumResponseNullableValues() []OASEnumRequestListInt32EnumRequestIntegerEnumResponseNullable { + return []OASEnumRequestListInt32EnumRequestIntegerEnumResponseNullable{ + OASEnumRequestListInt32EnumRequestIntegerEnumResponseNullableOne, + OASEnumRequestListInt32EnumRequestIntegerEnumResponseNullableTwo, + } +} func (e *OASEnumRequestListInt32EnumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -643,6 +832,14 @@ const ( func (e ListInt32EnumRequestIntegerNoenumResponse) ToPointer() *ListInt32EnumRequestIntegerNoenumResponse { return &e } + +// ListInt32EnumRequestIntegerNoenumResponseValues returns every known ListInt32EnumRequestIntegerNoenumResponse value in schema order. +func ListInt32EnumRequestIntegerNoenumResponseValues() []ListInt32EnumRequestIntegerNoenumResponse { + return []ListInt32EnumRequestIntegerNoenumResponse{ + ListInt32EnumRequestIntegerNoenumResponseOne, + ListInt32EnumRequestIntegerNoenumResponseTwo, + } +} func (e *ListInt32EnumRequestIntegerNoenumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -669,6 +866,14 @@ const ( func (e ListInt32EnumRequestIntegerNoenumResponseNullable) ToPointer() *ListInt32EnumRequestIntegerNoenumResponseNullable { return &e } + +// ListInt32EnumRequestIntegerNoenumResponseNullableValues returns every known ListInt32EnumRequestIntegerNoenumResponseNullable value in schema order. +func ListInt32EnumRequestIntegerNoenumResponseNullableValues() []ListInt32EnumRequestIntegerNoenumResponseNullable { + return []ListInt32EnumRequestIntegerNoenumResponseNullable{ + ListInt32EnumRequestIntegerNoenumResponseNullableOne, + ListInt32EnumRequestIntegerNoenumResponseNullableTwo, + } +} func (e *ListInt32EnumRequestIntegerNoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -695,6 +900,14 @@ const ( func (e OASEnumRequestListInt64EnumRequestInt32EnumResponse) ToPointer() *OASEnumRequestListInt64EnumRequestInt32EnumResponse { return &e } + +// OASEnumRequestListInt64EnumRequestInt32EnumResponseValues returns every known OASEnumRequestListInt64EnumRequestInt32EnumResponse value in schema order. +func OASEnumRequestListInt64EnumRequestInt32EnumResponseValues() []OASEnumRequestListInt64EnumRequestInt32EnumResponse { + return []OASEnumRequestListInt64EnumRequestInt32EnumResponse{ + OASEnumRequestListInt64EnumRequestInt32EnumResponseOne, + OASEnumRequestListInt64EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumRequestListInt64EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -721,6 +934,14 @@ const ( func (e OASEnumRequestListInt64EnumRequestInt32EnumResponseNullable) ToPointer() *OASEnumRequestListInt64EnumRequestInt32EnumResponseNullable { return &e } + +// OASEnumRequestListInt64EnumRequestInt32EnumResponseNullableValues returns every known OASEnumRequestListInt64EnumRequestInt32EnumResponseNullable value in schema order. +func OASEnumRequestListInt64EnumRequestInt32EnumResponseNullableValues() []OASEnumRequestListInt64EnumRequestInt32EnumResponseNullable { + return []OASEnumRequestListInt64EnumRequestInt32EnumResponseNullable{ + OASEnumRequestListInt64EnumRequestInt32EnumResponseNullableOne, + OASEnumRequestListInt64EnumRequestInt32EnumResponseNullableTwo, + } +} func (e *OASEnumRequestListInt64EnumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -747,6 +968,14 @@ const ( func (e ListInt64EnumRequestInt32NoenumResponse) ToPointer() *ListInt64EnumRequestInt32NoenumResponse { return &e } + +// ListInt64EnumRequestInt32NoenumResponseValues returns every known ListInt64EnumRequestInt32NoenumResponse value in schema order. +func ListInt64EnumRequestInt32NoenumResponseValues() []ListInt64EnumRequestInt32NoenumResponse { + return []ListInt64EnumRequestInt32NoenumResponse{ + ListInt64EnumRequestInt32NoenumResponseOne, + ListInt64EnumRequestInt32NoenumResponseTwo, + } +} func (e *ListInt64EnumRequestInt32NoenumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -773,6 +1002,14 @@ const ( func (e ListInt64EnumRequestInt32NoenumResponseNullable) ToPointer() *ListInt64EnumRequestInt32NoenumResponseNullable { return &e } + +// ListInt64EnumRequestInt32NoenumResponseNullableValues returns every known ListInt64EnumRequestInt32NoenumResponseNullable value in schema order. +func ListInt64EnumRequestInt32NoenumResponseNullableValues() []ListInt64EnumRequestInt32NoenumResponseNullable { + return []ListInt64EnumRequestInt32NoenumResponseNullable{ + ListInt64EnumRequestInt32NoenumResponseNullableOne, + ListInt64EnumRequestInt32NoenumResponseNullableTwo, + } +} func (e *ListInt64EnumRequestInt32NoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -799,6 +1036,14 @@ const ( func (e OASEnumRequestListInt64EnumRequestInt64EnumResponse) ToPointer() *OASEnumRequestListInt64EnumRequestInt64EnumResponse { return &e } + +// OASEnumRequestListInt64EnumRequestInt64EnumResponseValues returns every known OASEnumRequestListInt64EnumRequestInt64EnumResponse value in schema order. +func OASEnumRequestListInt64EnumRequestInt64EnumResponseValues() []OASEnumRequestListInt64EnumRequestInt64EnumResponse { + return []OASEnumRequestListInt64EnumRequestInt64EnumResponse{ + OASEnumRequestListInt64EnumRequestInt64EnumResponseOne, + OASEnumRequestListInt64EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumRequestListInt64EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -825,6 +1070,14 @@ const ( func (e OASEnumRequestListInt64EnumRequestInt64EnumResponseNullable) ToPointer() *OASEnumRequestListInt64EnumRequestInt64EnumResponseNullable { return &e } + +// OASEnumRequestListInt64EnumRequestInt64EnumResponseNullableValues returns every known OASEnumRequestListInt64EnumRequestInt64EnumResponseNullable value in schema order. +func OASEnumRequestListInt64EnumRequestInt64EnumResponseNullableValues() []OASEnumRequestListInt64EnumRequestInt64EnumResponseNullable { + return []OASEnumRequestListInt64EnumRequestInt64EnumResponseNullable{ + OASEnumRequestListInt64EnumRequestInt64EnumResponseNullableOne, + OASEnumRequestListInt64EnumRequestInt64EnumResponseNullableTwo, + } +} func (e *OASEnumRequestListInt64EnumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -851,6 +1104,14 @@ const ( func (e ListInt64EnumRequestInt64NoenumResponse) ToPointer() *ListInt64EnumRequestInt64NoenumResponse { return &e } + +// ListInt64EnumRequestInt64NoenumResponseValues returns every known ListInt64EnumRequestInt64NoenumResponse value in schema order. +func ListInt64EnumRequestInt64NoenumResponseValues() []ListInt64EnumRequestInt64NoenumResponse { + return []ListInt64EnumRequestInt64NoenumResponse{ + ListInt64EnumRequestInt64NoenumResponseOne, + ListInt64EnumRequestInt64NoenumResponseTwo, + } +} func (e *ListInt64EnumRequestInt64NoenumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -877,6 +1138,14 @@ const ( func (e ListInt64EnumRequestInt64NoenumResponseNullable) ToPointer() *ListInt64EnumRequestInt64NoenumResponseNullable { return &e } + +// ListInt64EnumRequestInt64NoenumResponseNullableValues returns every known ListInt64EnumRequestInt64NoenumResponseNullable value in schema order. +func ListInt64EnumRequestInt64NoenumResponseNullableValues() []ListInt64EnumRequestInt64NoenumResponseNullable { + return []ListInt64EnumRequestInt64NoenumResponseNullable{ + ListInt64EnumRequestInt64NoenumResponseNullableOne, + ListInt64EnumRequestInt64NoenumResponseNullableTwo, + } +} func (e *ListInt64EnumRequestInt64NoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -903,6 +1172,14 @@ const ( func (e OASEnumRequestListInt64EnumRequestIntegerEnumResponse) ToPointer() *OASEnumRequestListInt64EnumRequestIntegerEnumResponse { return &e } + +// OASEnumRequestListInt64EnumRequestIntegerEnumResponseValues returns every known OASEnumRequestListInt64EnumRequestIntegerEnumResponse value in schema order. +func OASEnumRequestListInt64EnumRequestIntegerEnumResponseValues() []OASEnumRequestListInt64EnumRequestIntegerEnumResponse { + return []OASEnumRequestListInt64EnumRequestIntegerEnumResponse{ + OASEnumRequestListInt64EnumRequestIntegerEnumResponseOne, + OASEnumRequestListInt64EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumRequestListInt64EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -929,6 +1206,14 @@ const ( func (e OASEnumRequestListInt64EnumRequestIntegerEnumResponseNullable) ToPointer() *OASEnumRequestListInt64EnumRequestIntegerEnumResponseNullable { return &e } + +// OASEnumRequestListInt64EnumRequestIntegerEnumResponseNullableValues returns every known OASEnumRequestListInt64EnumRequestIntegerEnumResponseNullable value in schema order. +func OASEnumRequestListInt64EnumRequestIntegerEnumResponseNullableValues() []OASEnumRequestListInt64EnumRequestIntegerEnumResponseNullable { + return []OASEnumRequestListInt64EnumRequestIntegerEnumResponseNullable{ + OASEnumRequestListInt64EnumRequestIntegerEnumResponseNullableOne, + OASEnumRequestListInt64EnumRequestIntegerEnumResponseNullableTwo, + } +} func (e *OASEnumRequestListInt64EnumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -955,6 +1240,14 @@ const ( func (e ListInt64EnumRequestIntegerNoenumResponse) ToPointer() *ListInt64EnumRequestIntegerNoenumResponse { return &e } + +// ListInt64EnumRequestIntegerNoenumResponseValues returns every known ListInt64EnumRequestIntegerNoenumResponse value in schema order. +func ListInt64EnumRequestIntegerNoenumResponseValues() []ListInt64EnumRequestIntegerNoenumResponse { + return []ListInt64EnumRequestIntegerNoenumResponse{ + ListInt64EnumRequestIntegerNoenumResponseOne, + ListInt64EnumRequestIntegerNoenumResponseTwo, + } +} func (e *ListInt64EnumRequestIntegerNoenumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -981,6 +1274,14 @@ const ( func (e ListInt64EnumRequestIntegerNoenumResponseNullable) ToPointer() *ListInt64EnumRequestIntegerNoenumResponseNullable { return &e } + +// ListInt64EnumRequestIntegerNoenumResponseNullableValues returns every known ListInt64EnumRequestIntegerNoenumResponseNullable value in schema order. +func ListInt64EnumRequestIntegerNoenumResponseNullableValues() []ListInt64EnumRequestIntegerNoenumResponseNullable { + return []ListInt64EnumRequestIntegerNoenumResponseNullable{ + ListInt64EnumRequestIntegerNoenumResponseNullableOne, + ListInt64EnumRequestIntegerNoenumResponseNullableTwo, + } +} func (e *ListInt64EnumRequestIntegerNoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1007,6 +1308,14 @@ const ( func (e OASEnumRequestListIntegerRequestAndResponse) ToPointer() *OASEnumRequestListIntegerRequestAndResponse { return &e } + +// OASEnumRequestListIntegerRequestAndResponseValues returns every known OASEnumRequestListIntegerRequestAndResponse value in schema order. +func OASEnumRequestListIntegerRequestAndResponseValues() []OASEnumRequestListIntegerRequestAndResponse { + return []OASEnumRequestListIntegerRequestAndResponse{ + OASEnumRequestListIntegerRequestAndResponseOne, + OASEnumRequestListIntegerRequestAndResponseTwo, + } +} func (e *OASEnumRequestListIntegerRequestAndResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1033,6 +1342,14 @@ const ( func (e ListIntegerRequest) ToPointer() *ListIntegerRequest { return &e } + +// ListIntegerRequestValues returns every known ListIntegerRequest value in schema order. +func ListIntegerRequestValues() []ListIntegerRequest { + return []ListIntegerRequest{ + ListIntegerRequestOne, + ListIntegerRequestTwo, + } +} func (e *ListIntegerRequest) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1059,6 +1376,14 @@ const ( func (e OASEnumRequestListStringRequestAndResponse) ToPointer() *OASEnumRequestListStringRequestAndResponse { return &e } + +// OASEnumRequestListStringRequestAndResponseValues returns every known OASEnumRequestListStringRequestAndResponse value in schema order. +func OASEnumRequestListStringRequestAndResponseValues() []OASEnumRequestListStringRequestAndResponse { + return []OASEnumRequestListStringRequestAndResponse{ + OASEnumRequestListStringRequestAndResponseOne, + OASEnumRequestListStringRequestAndResponseTwo, + } +} func (e *OASEnumRequestListStringRequestAndResponse) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1085,6 +1410,14 @@ const ( func (e ListStringRequest) ToPointer() *ListStringRequest { return &e } + +// ListStringRequestValues returns every known ListStringRequest value in schema order. +func ListStringRequestValues() []ListStringRequest { + return []ListStringRequest{ + ListStringRequestOne, + ListStringRequestTwo, + } +} func (e *ListStringRequest) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1111,6 +1444,14 @@ const ( func (e OASEnumRequestListNestedRequestAndResponseListNestedInteger) ToPointer() *OASEnumRequestListNestedRequestAndResponseListNestedInteger { return &e } + +// OASEnumRequestListNestedRequestAndResponseListNestedIntegerValues returns every known OASEnumRequestListNestedRequestAndResponseListNestedInteger value in schema order. +func OASEnumRequestListNestedRequestAndResponseListNestedIntegerValues() []OASEnumRequestListNestedRequestAndResponseListNestedInteger { + return []OASEnumRequestListNestedRequestAndResponseListNestedInteger{ + OASEnumRequestListNestedRequestAndResponseListNestedIntegerOne, + OASEnumRequestListNestedRequestAndResponseListNestedIntegerTwo, + } +} func (e *OASEnumRequestListNestedRequestAndResponseListNestedInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1137,6 +1478,14 @@ const ( func (e OASEnumRequestListNestedRequestAndResponseListNestedString) ToPointer() *OASEnumRequestListNestedRequestAndResponseListNestedString { return &e } + +// OASEnumRequestListNestedRequestAndResponseListNestedStringValues returns every known OASEnumRequestListNestedRequestAndResponseListNestedString value in schema order. +func OASEnumRequestListNestedRequestAndResponseListNestedStringValues() []OASEnumRequestListNestedRequestAndResponseListNestedString { + return []OASEnumRequestListNestedRequestAndResponseListNestedString{ + OASEnumRequestListNestedRequestAndResponseListNestedStringOne, + OASEnumRequestListNestedRequestAndResponseListNestedStringTwo, + } +} func (e *OASEnumRequestListNestedRequestAndResponseListNestedString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1182,6 +1531,14 @@ const ( func (e ListNestedRequestListNestedInteger) ToPointer() *ListNestedRequestListNestedInteger { return &e } + +// ListNestedRequestListNestedIntegerValues returns every known ListNestedRequestListNestedInteger value in schema order. +func ListNestedRequestListNestedIntegerValues() []ListNestedRequestListNestedInteger { + return []ListNestedRequestListNestedInteger{ + ListNestedRequestListNestedIntegerOne, + ListNestedRequestListNestedIntegerTwo, + } +} func (e *ListNestedRequestListNestedInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1208,6 +1565,14 @@ const ( func (e ListNestedRequestListNestedString) ToPointer() *ListNestedRequestListNestedString { return &e } + +// ListNestedRequestListNestedStringValues returns every known ListNestedRequestListNestedString value in schema order. +func ListNestedRequestListNestedStringValues() []ListNestedRequestListNestedString { + return []ListNestedRequestListNestedString{ + ListNestedRequestListNestedStringOne, + ListNestedRequestListNestedStringTwo, + } +} func (e *ListNestedRequestListNestedString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1272,6 +1637,14 @@ const ( func (e OASEnumRequestObjectRequestAndResponseObjectInteger) ToPointer() *OASEnumRequestObjectRequestAndResponseObjectInteger { return &e } + +// OASEnumRequestObjectRequestAndResponseObjectIntegerValues returns every known OASEnumRequestObjectRequestAndResponseObjectInteger value in schema order. +func OASEnumRequestObjectRequestAndResponseObjectIntegerValues() []OASEnumRequestObjectRequestAndResponseObjectInteger { + return []OASEnumRequestObjectRequestAndResponseObjectInteger{ + OASEnumRequestObjectRequestAndResponseObjectIntegerOne, + OASEnumRequestObjectRequestAndResponseObjectIntegerTwo, + } +} func (e *OASEnumRequestObjectRequestAndResponseObjectInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1298,6 +1671,14 @@ const ( func (e OASEnumRequestObjectRequestAndResponseObjectString) ToPointer() *OASEnumRequestObjectRequestAndResponseObjectString { return &e } + +// OASEnumRequestObjectRequestAndResponseObjectStringValues returns every known OASEnumRequestObjectRequestAndResponseObjectString value in schema order. +func OASEnumRequestObjectRequestAndResponseObjectStringValues() []OASEnumRequestObjectRequestAndResponseObjectString { + return []OASEnumRequestObjectRequestAndResponseObjectString{ + OASEnumRequestObjectRequestAndResponseObjectStringOne, + OASEnumRequestObjectRequestAndResponseObjectStringTwo, + } +} func (e *OASEnumRequestObjectRequestAndResponseObjectString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1344,6 +1725,14 @@ const ( func (e ObjectRequestObjectInteger) ToPointer() *ObjectRequestObjectInteger { return &e } + +// ObjectRequestObjectIntegerValues returns every known ObjectRequestObjectInteger value in schema order. +func ObjectRequestObjectIntegerValues() []ObjectRequestObjectInteger { + return []ObjectRequestObjectInteger{ + ObjectRequestObjectIntegerOne, + ObjectRequestObjectIntegerTwo, + } +} func (e *ObjectRequestObjectInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1370,6 +1759,14 @@ const ( func (e ObjectRequestObjectString) ToPointer() *ObjectRequestObjectString { return &e } + +// ObjectRequestObjectStringValues returns every known ObjectRequestObjectString value in schema order. +func ObjectRequestObjectStringValues() []ObjectRequestObjectString { + return []ObjectRequestObjectString{ + ObjectRequestObjectStringOne, + ObjectRequestObjectStringTwo, + } +} func (e *ObjectRequestObjectString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1436,6 +1833,14 @@ const ( func (e OASEnumRequestSetInt32EnumRequestInt32EnumResponse) ToPointer() *OASEnumRequestSetInt32EnumRequestInt32EnumResponse { return &e } + +// OASEnumRequestSetInt32EnumRequestInt32EnumResponseValues returns every known OASEnumRequestSetInt32EnumRequestInt32EnumResponse value in schema order. +func OASEnumRequestSetInt32EnumRequestInt32EnumResponseValues() []OASEnumRequestSetInt32EnumRequestInt32EnumResponse { + return []OASEnumRequestSetInt32EnumRequestInt32EnumResponse{ + OASEnumRequestSetInt32EnumRequestInt32EnumResponseOne, + OASEnumRequestSetInt32EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumRequestSetInt32EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1462,6 +1867,14 @@ const ( func (e OASEnumRequestSetInt32EnumRequestInt32EnumResponseNullable) ToPointer() *OASEnumRequestSetInt32EnumRequestInt32EnumResponseNullable { return &e } + +// OASEnumRequestSetInt32EnumRequestInt32EnumResponseNullableValues returns every known OASEnumRequestSetInt32EnumRequestInt32EnumResponseNullable value in schema order. +func OASEnumRequestSetInt32EnumRequestInt32EnumResponseNullableValues() []OASEnumRequestSetInt32EnumRequestInt32EnumResponseNullable { + return []OASEnumRequestSetInt32EnumRequestInt32EnumResponseNullable{ + OASEnumRequestSetInt32EnumRequestInt32EnumResponseNullableOne, + OASEnumRequestSetInt32EnumRequestInt32EnumResponseNullableTwo, + } +} func (e *OASEnumRequestSetInt32EnumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1488,6 +1901,14 @@ const ( func (e SetInt32EnumRequestInt32NoenumResponse) ToPointer() *SetInt32EnumRequestInt32NoenumResponse { return &e } + +// SetInt32EnumRequestInt32NoenumResponseValues returns every known SetInt32EnumRequestInt32NoenumResponse value in schema order. +func SetInt32EnumRequestInt32NoenumResponseValues() []SetInt32EnumRequestInt32NoenumResponse { + return []SetInt32EnumRequestInt32NoenumResponse{ + SetInt32EnumRequestInt32NoenumResponseOne, + SetInt32EnumRequestInt32NoenumResponseTwo, + } +} func (e *SetInt32EnumRequestInt32NoenumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1514,6 +1935,14 @@ const ( func (e SetInt32EnumRequestInt32NoenumResponseNullable) ToPointer() *SetInt32EnumRequestInt32NoenumResponseNullable { return &e } + +// SetInt32EnumRequestInt32NoenumResponseNullableValues returns every known SetInt32EnumRequestInt32NoenumResponseNullable value in schema order. +func SetInt32EnumRequestInt32NoenumResponseNullableValues() []SetInt32EnumRequestInt32NoenumResponseNullable { + return []SetInt32EnumRequestInt32NoenumResponseNullable{ + SetInt32EnumRequestInt32NoenumResponseNullableOne, + SetInt32EnumRequestInt32NoenumResponseNullableTwo, + } +} func (e *SetInt32EnumRequestInt32NoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1540,6 +1969,14 @@ const ( func (e OASEnumRequestSetInt32EnumRequestInt64EnumResponse) ToPointer() *OASEnumRequestSetInt32EnumRequestInt64EnumResponse { return &e } + +// OASEnumRequestSetInt32EnumRequestInt64EnumResponseValues returns every known OASEnumRequestSetInt32EnumRequestInt64EnumResponse value in schema order. +func OASEnumRequestSetInt32EnumRequestInt64EnumResponseValues() []OASEnumRequestSetInt32EnumRequestInt64EnumResponse { + return []OASEnumRequestSetInt32EnumRequestInt64EnumResponse{ + OASEnumRequestSetInt32EnumRequestInt64EnumResponseOne, + OASEnumRequestSetInt32EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumRequestSetInt32EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1566,6 +2003,14 @@ const ( func (e OASEnumRequestSetInt32EnumRequestInt64EnumResponseNullable) ToPointer() *OASEnumRequestSetInt32EnumRequestInt64EnumResponseNullable { return &e } + +// OASEnumRequestSetInt32EnumRequestInt64EnumResponseNullableValues returns every known OASEnumRequestSetInt32EnumRequestInt64EnumResponseNullable value in schema order. +func OASEnumRequestSetInt32EnumRequestInt64EnumResponseNullableValues() []OASEnumRequestSetInt32EnumRequestInt64EnumResponseNullable { + return []OASEnumRequestSetInt32EnumRequestInt64EnumResponseNullable{ + OASEnumRequestSetInt32EnumRequestInt64EnumResponseNullableOne, + OASEnumRequestSetInt32EnumRequestInt64EnumResponseNullableTwo, + } +} func (e *OASEnumRequestSetInt32EnumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1592,6 +2037,14 @@ const ( func (e SetInt32EnumRequestInt64NoenumResponse) ToPointer() *SetInt32EnumRequestInt64NoenumResponse { return &e } + +// SetInt32EnumRequestInt64NoenumResponseValues returns every known SetInt32EnumRequestInt64NoenumResponse value in schema order. +func SetInt32EnumRequestInt64NoenumResponseValues() []SetInt32EnumRequestInt64NoenumResponse { + return []SetInt32EnumRequestInt64NoenumResponse{ + SetInt32EnumRequestInt64NoenumResponseOne, + SetInt32EnumRequestInt64NoenumResponseTwo, + } +} func (e *SetInt32EnumRequestInt64NoenumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1618,6 +2071,14 @@ const ( func (e SetInt32EnumRequestInt64NoenumResponseNullable) ToPointer() *SetInt32EnumRequestInt64NoenumResponseNullable { return &e } + +// SetInt32EnumRequestInt64NoenumResponseNullableValues returns every known SetInt32EnumRequestInt64NoenumResponseNullable value in schema order. +func SetInt32EnumRequestInt64NoenumResponseNullableValues() []SetInt32EnumRequestInt64NoenumResponseNullable { + return []SetInt32EnumRequestInt64NoenumResponseNullable{ + SetInt32EnumRequestInt64NoenumResponseNullableOne, + SetInt32EnumRequestInt64NoenumResponseNullableTwo, + } +} func (e *SetInt32EnumRequestInt64NoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1644,6 +2105,14 @@ const ( func (e OASEnumRequestSetInt32EnumRequestIntegerEnumResponse) ToPointer() *OASEnumRequestSetInt32EnumRequestIntegerEnumResponse { return &e } + +// OASEnumRequestSetInt32EnumRequestIntegerEnumResponseValues returns every known OASEnumRequestSetInt32EnumRequestIntegerEnumResponse value in schema order. +func OASEnumRequestSetInt32EnumRequestIntegerEnumResponseValues() []OASEnumRequestSetInt32EnumRequestIntegerEnumResponse { + return []OASEnumRequestSetInt32EnumRequestIntegerEnumResponse{ + OASEnumRequestSetInt32EnumRequestIntegerEnumResponseOne, + OASEnumRequestSetInt32EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumRequestSetInt32EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1670,6 +2139,14 @@ const ( func (e OASEnumRequestSetInt32EnumRequestIntegerEnumResponseNullable) ToPointer() *OASEnumRequestSetInt32EnumRequestIntegerEnumResponseNullable { return &e } + +// OASEnumRequestSetInt32EnumRequestIntegerEnumResponseNullableValues returns every known OASEnumRequestSetInt32EnumRequestIntegerEnumResponseNullable value in schema order. +func OASEnumRequestSetInt32EnumRequestIntegerEnumResponseNullableValues() []OASEnumRequestSetInt32EnumRequestIntegerEnumResponseNullable { + return []OASEnumRequestSetInt32EnumRequestIntegerEnumResponseNullable{ + OASEnumRequestSetInt32EnumRequestIntegerEnumResponseNullableOne, + OASEnumRequestSetInt32EnumRequestIntegerEnumResponseNullableTwo, + } +} func (e *OASEnumRequestSetInt32EnumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1696,6 +2173,14 @@ const ( func (e SetInt32EnumRequestIntegerNoenumResponse) ToPointer() *SetInt32EnumRequestIntegerNoenumResponse { return &e } + +// SetInt32EnumRequestIntegerNoenumResponseValues returns every known SetInt32EnumRequestIntegerNoenumResponse value in schema order. +func SetInt32EnumRequestIntegerNoenumResponseValues() []SetInt32EnumRequestIntegerNoenumResponse { + return []SetInt32EnumRequestIntegerNoenumResponse{ + SetInt32EnumRequestIntegerNoenumResponseOne, + SetInt32EnumRequestIntegerNoenumResponseTwo, + } +} func (e *SetInt32EnumRequestIntegerNoenumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1722,6 +2207,14 @@ const ( func (e SetInt32EnumRequestIntegerNoenumResponseNullable) ToPointer() *SetInt32EnumRequestIntegerNoenumResponseNullable { return &e } + +// SetInt32EnumRequestIntegerNoenumResponseNullableValues returns every known SetInt32EnumRequestIntegerNoenumResponseNullable value in schema order. +func SetInt32EnumRequestIntegerNoenumResponseNullableValues() []SetInt32EnumRequestIntegerNoenumResponseNullable { + return []SetInt32EnumRequestIntegerNoenumResponseNullable{ + SetInt32EnumRequestIntegerNoenumResponseNullableOne, + SetInt32EnumRequestIntegerNoenumResponseNullableTwo, + } +} func (e *SetInt32EnumRequestIntegerNoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1748,6 +2241,14 @@ const ( func (e OASEnumRequestSetInt64EnumRequestInt32EnumResponse) ToPointer() *OASEnumRequestSetInt64EnumRequestInt32EnumResponse { return &e } + +// OASEnumRequestSetInt64EnumRequestInt32EnumResponseValues returns every known OASEnumRequestSetInt64EnumRequestInt32EnumResponse value in schema order. +func OASEnumRequestSetInt64EnumRequestInt32EnumResponseValues() []OASEnumRequestSetInt64EnumRequestInt32EnumResponse { + return []OASEnumRequestSetInt64EnumRequestInt32EnumResponse{ + OASEnumRequestSetInt64EnumRequestInt32EnumResponseOne, + OASEnumRequestSetInt64EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumRequestSetInt64EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1774,6 +2275,14 @@ const ( func (e OASEnumRequestSetInt64EnumRequestInt32EnumResponseNullable) ToPointer() *OASEnumRequestSetInt64EnumRequestInt32EnumResponseNullable { return &e } + +// OASEnumRequestSetInt64EnumRequestInt32EnumResponseNullableValues returns every known OASEnumRequestSetInt64EnumRequestInt32EnumResponseNullable value in schema order. +func OASEnumRequestSetInt64EnumRequestInt32EnumResponseNullableValues() []OASEnumRequestSetInt64EnumRequestInt32EnumResponseNullable { + return []OASEnumRequestSetInt64EnumRequestInt32EnumResponseNullable{ + OASEnumRequestSetInt64EnumRequestInt32EnumResponseNullableOne, + OASEnumRequestSetInt64EnumRequestInt32EnumResponseNullableTwo, + } +} func (e *OASEnumRequestSetInt64EnumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1800,6 +2309,14 @@ const ( func (e SetInt64EnumRequestInt32NoenumResponse) ToPointer() *SetInt64EnumRequestInt32NoenumResponse { return &e } + +// SetInt64EnumRequestInt32NoenumResponseValues returns every known SetInt64EnumRequestInt32NoenumResponse value in schema order. +func SetInt64EnumRequestInt32NoenumResponseValues() []SetInt64EnumRequestInt32NoenumResponse { + return []SetInt64EnumRequestInt32NoenumResponse{ + SetInt64EnumRequestInt32NoenumResponseOne, + SetInt64EnumRequestInt32NoenumResponseTwo, + } +} func (e *SetInt64EnumRequestInt32NoenumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1826,6 +2343,14 @@ const ( func (e SetInt64EnumRequestInt32NoenumResponseNullable) ToPointer() *SetInt64EnumRequestInt32NoenumResponseNullable { return &e } + +// SetInt64EnumRequestInt32NoenumResponseNullableValues returns every known SetInt64EnumRequestInt32NoenumResponseNullable value in schema order. +func SetInt64EnumRequestInt32NoenumResponseNullableValues() []SetInt64EnumRequestInt32NoenumResponseNullable { + return []SetInt64EnumRequestInt32NoenumResponseNullable{ + SetInt64EnumRequestInt32NoenumResponseNullableOne, + SetInt64EnumRequestInt32NoenumResponseNullableTwo, + } +} func (e *SetInt64EnumRequestInt32NoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1852,6 +2377,14 @@ const ( func (e OASEnumRequestSetInt64EnumRequestInt64EnumResponse) ToPointer() *OASEnumRequestSetInt64EnumRequestInt64EnumResponse { return &e } + +// OASEnumRequestSetInt64EnumRequestInt64EnumResponseValues returns every known OASEnumRequestSetInt64EnumRequestInt64EnumResponse value in schema order. +func OASEnumRequestSetInt64EnumRequestInt64EnumResponseValues() []OASEnumRequestSetInt64EnumRequestInt64EnumResponse { + return []OASEnumRequestSetInt64EnumRequestInt64EnumResponse{ + OASEnumRequestSetInt64EnumRequestInt64EnumResponseOne, + OASEnumRequestSetInt64EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumRequestSetInt64EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1878,6 +2411,14 @@ const ( func (e OASEnumRequestSetInt64EnumRequestInt64EnumResponseNullable) ToPointer() *OASEnumRequestSetInt64EnumRequestInt64EnumResponseNullable { return &e } + +// OASEnumRequestSetInt64EnumRequestInt64EnumResponseNullableValues returns every known OASEnumRequestSetInt64EnumRequestInt64EnumResponseNullable value in schema order. +func OASEnumRequestSetInt64EnumRequestInt64EnumResponseNullableValues() []OASEnumRequestSetInt64EnumRequestInt64EnumResponseNullable { + return []OASEnumRequestSetInt64EnumRequestInt64EnumResponseNullable{ + OASEnumRequestSetInt64EnumRequestInt64EnumResponseNullableOne, + OASEnumRequestSetInt64EnumRequestInt64EnumResponseNullableTwo, + } +} func (e *OASEnumRequestSetInt64EnumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1904,6 +2445,14 @@ const ( func (e SetInt64EnumRequestInt64NoenumResponse) ToPointer() *SetInt64EnumRequestInt64NoenumResponse { return &e } + +// SetInt64EnumRequestInt64NoenumResponseValues returns every known SetInt64EnumRequestInt64NoenumResponse value in schema order. +func SetInt64EnumRequestInt64NoenumResponseValues() []SetInt64EnumRequestInt64NoenumResponse { + return []SetInt64EnumRequestInt64NoenumResponse{ + SetInt64EnumRequestInt64NoenumResponseOne, + SetInt64EnumRequestInt64NoenumResponseTwo, + } +} func (e *SetInt64EnumRequestInt64NoenumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1930,6 +2479,14 @@ const ( func (e SetInt64EnumRequestInt64NoenumResponseNullable) ToPointer() *SetInt64EnumRequestInt64NoenumResponseNullable { return &e } + +// SetInt64EnumRequestInt64NoenumResponseNullableValues returns every known SetInt64EnumRequestInt64NoenumResponseNullable value in schema order. +func SetInt64EnumRequestInt64NoenumResponseNullableValues() []SetInt64EnumRequestInt64NoenumResponseNullable { + return []SetInt64EnumRequestInt64NoenumResponseNullable{ + SetInt64EnumRequestInt64NoenumResponseNullableOne, + SetInt64EnumRequestInt64NoenumResponseNullableTwo, + } +} func (e *SetInt64EnumRequestInt64NoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1956,6 +2513,14 @@ const ( func (e OASEnumRequestSetInt64EnumRequestIntegerEnumResponse) ToPointer() *OASEnumRequestSetInt64EnumRequestIntegerEnumResponse { return &e } + +// OASEnumRequestSetInt64EnumRequestIntegerEnumResponseValues returns every known OASEnumRequestSetInt64EnumRequestIntegerEnumResponse value in schema order. +func OASEnumRequestSetInt64EnumRequestIntegerEnumResponseValues() []OASEnumRequestSetInt64EnumRequestIntegerEnumResponse { + return []OASEnumRequestSetInt64EnumRequestIntegerEnumResponse{ + OASEnumRequestSetInt64EnumRequestIntegerEnumResponseOne, + OASEnumRequestSetInt64EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumRequestSetInt64EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1982,6 +2547,14 @@ const ( func (e OASEnumRequestSetInt64EnumRequestIntegerEnumResponseNullable) ToPointer() *OASEnumRequestSetInt64EnumRequestIntegerEnumResponseNullable { return &e } + +// OASEnumRequestSetInt64EnumRequestIntegerEnumResponseNullableValues returns every known OASEnumRequestSetInt64EnumRequestIntegerEnumResponseNullable value in schema order. +func OASEnumRequestSetInt64EnumRequestIntegerEnumResponseNullableValues() []OASEnumRequestSetInt64EnumRequestIntegerEnumResponseNullable { + return []OASEnumRequestSetInt64EnumRequestIntegerEnumResponseNullable{ + OASEnumRequestSetInt64EnumRequestIntegerEnumResponseNullableOne, + OASEnumRequestSetInt64EnumRequestIntegerEnumResponseNullableTwo, + } +} func (e *OASEnumRequestSetInt64EnumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2008,6 +2581,14 @@ const ( func (e SetInt64EnumRequestIntegerNoenumResponse) ToPointer() *SetInt64EnumRequestIntegerNoenumResponse { return &e } + +// SetInt64EnumRequestIntegerNoenumResponseValues returns every known SetInt64EnumRequestIntegerNoenumResponse value in schema order. +func SetInt64EnumRequestIntegerNoenumResponseValues() []SetInt64EnumRequestIntegerNoenumResponse { + return []SetInt64EnumRequestIntegerNoenumResponse{ + SetInt64EnumRequestIntegerNoenumResponseOne, + SetInt64EnumRequestIntegerNoenumResponseTwo, + } +} func (e *SetInt64EnumRequestIntegerNoenumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2034,6 +2615,14 @@ const ( func (e SetInt64EnumRequestIntegerNoenumResponseNullable) ToPointer() *SetInt64EnumRequestIntegerNoenumResponseNullable { return &e } + +// SetInt64EnumRequestIntegerNoenumResponseNullableValues returns every known SetInt64EnumRequestIntegerNoenumResponseNullable value in schema order. +func SetInt64EnumRequestIntegerNoenumResponseNullableValues() []SetInt64EnumRequestIntegerNoenumResponseNullable { + return []SetInt64EnumRequestIntegerNoenumResponseNullable{ + SetInt64EnumRequestIntegerNoenumResponseNullableOne, + SetInt64EnumRequestIntegerNoenumResponseNullableTwo, + } +} func (e *SetInt64EnumRequestIntegerNoenumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2060,6 +2649,14 @@ const ( func (e OASEnumRequestSetIntegerRequestAndResponse) ToPointer() *OASEnumRequestSetIntegerRequestAndResponse { return &e } + +// OASEnumRequestSetIntegerRequestAndResponseValues returns every known OASEnumRequestSetIntegerRequestAndResponse value in schema order. +func OASEnumRequestSetIntegerRequestAndResponseValues() []OASEnumRequestSetIntegerRequestAndResponse { + return []OASEnumRequestSetIntegerRequestAndResponse{ + OASEnumRequestSetIntegerRequestAndResponseOne, + OASEnumRequestSetIntegerRequestAndResponseTwo, + } +} func (e *OASEnumRequestSetIntegerRequestAndResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2086,6 +2683,14 @@ const ( func (e SetIntegerRequest) ToPointer() *SetIntegerRequest { return &e } + +// SetIntegerRequestValues returns every known SetIntegerRequest value in schema order. +func SetIntegerRequestValues() []SetIntegerRequest { + return []SetIntegerRequest{ + SetIntegerRequestOne, + SetIntegerRequestTwo, + } +} func (e *SetIntegerRequest) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2112,6 +2717,14 @@ const ( func (e OASEnumRequestSetStringRequestAndResponse) ToPointer() *OASEnumRequestSetStringRequestAndResponse { return &e } + +// OASEnumRequestSetStringRequestAndResponseValues returns every known OASEnumRequestSetStringRequestAndResponse value in schema order. +func OASEnumRequestSetStringRequestAndResponseValues() []OASEnumRequestSetStringRequestAndResponse { + return []OASEnumRequestSetStringRequestAndResponse{ + OASEnumRequestSetStringRequestAndResponseOne, + OASEnumRequestSetStringRequestAndResponseTwo, + } +} func (e *OASEnumRequestSetStringRequestAndResponse) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2138,6 +2751,14 @@ const ( func (e SetStringRequest) ToPointer() *SetStringRequest { return &e } + +// SetStringRequestValues returns every known SetStringRequest value in schema order. +func SetStringRequestValues() []SetStringRequest { + return []SetStringRequest{ + SetStringRequestOne, + SetStringRequestTwo, + } +} func (e *SetStringRequest) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2164,6 +2785,14 @@ const ( func (e OASEnumRequestSetNestedRequestAndResponseSetNestedInteger) ToPointer() *OASEnumRequestSetNestedRequestAndResponseSetNestedInteger { return &e } + +// OASEnumRequestSetNestedRequestAndResponseSetNestedIntegerValues returns every known OASEnumRequestSetNestedRequestAndResponseSetNestedInteger value in schema order. +func OASEnumRequestSetNestedRequestAndResponseSetNestedIntegerValues() []OASEnumRequestSetNestedRequestAndResponseSetNestedInteger { + return []OASEnumRequestSetNestedRequestAndResponseSetNestedInteger{ + OASEnumRequestSetNestedRequestAndResponseSetNestedIntegerOne, + OASEnumRequestSetNestedRequestAndResponseSetNestedIntegerTwo, + } +} func (e *OASEnumRequestSetNestedRequestAndResponseSetNestedInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2190,6 +2819,14 @@ const ( func (e OASEnumRequestSetNestedRequestAndResponseSetNestedString) ToPointer() *OASEnumRequestSetNestedRequestAndResponseSetNestedString { return &e } + +// OASEnumRequestSetNestedRequestAndResponseSetNestedStringValues returns every known OASEnumRequestSetNestedRequestAndResponseSetNestedString value in schema order. +func OASEnumRequestSetNestedRequestAndResponseSetNestedStringValues() []OASEnumRequestSetNestedRequestAndResponseSetNestedString { + return []OASEnumRequestSetNestedRequestAndResponseSetNestedString{ + OASEnumRequestSetNestedRequestAndResponseSetNestedStringOne, + OASEnumRequestSetNestedRequestAndResponseSetNestedStringTwo, + } +} func (e *OASEnumRequestSetNestedRequestAndResponseSetNestedString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2235,6 +2872,14 @@ const ( func (e SetNestedRequestSetNestedInteger) ToPointer() *SetNestedRequestSetNestedInteger { return &e } + +// SetNestedRequestSetNestedIntegerValues returns every known SetNestedRequestSetNestedInteger value in schema order. +func SetNestedRequestSetNestedIntegerValues() []SetNestedRequestSetNestedInteger { + return []SetNestedRequestSetNestedInteger{ + SetNestedRequestSetNestedIntegerOne, + SetNestedRequestSetNestedIntegerTwo, + } +} func (e *SetNestedRequestSetNestedInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2261,6 +2906,14 @@ const ( func (e SetNestedRequestSetNestedString) ToPointer() *SetNestedRequestSetNestedString { return &e } + +// SetNestedRequestSetNestedStringValues returns every known SetNestedRequestSetNestedString value in schema order. +func SetNestedRequestSetNestedStringValues() []SetNestedRequestSetNestedString { + return []SetNestedRequestSetNestedString{ + SetNestedRequestSetNestedStringOne, + SetNestedRequestSetNestedStringTwo, + } +} func (e *SetNestedRequestSetNestedString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2326,6 +2979,14 @@ const ( func (e OASEnumRequestStringRequestAndResponse) ToPointer() *OASEnumRequestStringRequestAndResponse { return &e } + +// OASEnumRequestStringRequestAndResponseValues returns every known OASEnumRequestStringRequestAndResponse value in schema order. +func OASEnumRequestStringRequestAndResponseValues() []OASEnumRequestStringRequestAndResponse { + return []OASEnumRequestStringRequestAndResponse{ + OASEnumRequestStringRequestAndResponseOne, + OASEnumRequestStringRequestAndResponseTwo, + } +} func (e *OASEnumRequestStringRequestAndResponse) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2353,6 +3014,14 @@ const ( func (e StringRequest) ToPointer() *StringRequest { return &e } + +// StringRequestValues returns every known StringRequest value in schema order. +func StringRequestValues() []StringRequest { + return []StringRequest{ + StringRequestOne, + StringRequestTwo, + } +} func (e *StringRequest) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/oasenumresponse.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/oasenumresponse.go index c3bc0faab..69b952c91 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/oasenumresponse.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/oasenumresponse.go @@ -18,6 +18,14 @@ const ( func (e OASEnumResponseInt32EnumRequestInt32EnumResponse) ToPointer() *OASEnumResponseInt32EnumRequestInt32EnumResponse { return &e } + +// OASEnumResponseInt32EnumRequestInt32EnumResponseValues returns every known OASEnumResponseInt32EnumRequestInt32EnumResponse value in schema order. +func OASEnumResponseInt32EnumRequestInt32EnumResponseValues() []OASEnumResponseInt32EnumRequestInt32EnumResponse { + return []OASEnumResponseInt32EnumRequestInt32EnumResponse{ + OASEnumResponseInt32EnumRequestInt32EnumResponseOne, + OASEnumResponseInt32EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumResponseInt32EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -45,6 +53,14 @@ const ( func (e OASEnumResponseInt32EnumRequestInt64EnumResponse) ToPointer() *OASEnumResponseInt32EnumRequestInt64EnumResponse { return &e } + +// OASEnumResponseInt32EnumRequestInt64EnumResponseValues returns every known OASEnumResponseInt32EnumRequestInt64EnumResponse value in schema order. +func OASEnumResponseInt32EnumRequestInt64EnumResponseValues() []OASEnumResponseInt32EnumRequestInt64EnumResponse { + return []OASEnumResponseInt32EnumRequestInt64EnumResponse{ + OASEnumResponseInt32EnumRequestInt64EnumResponseOne, + OASEnumResponseInt32EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumResponseInt32EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -72,6 +88,14 @@ const ( func (e OASEnumResponseInt32EnumRequestIntegerEnumResponse) ToPointer() *OASEnumResponseInt32EnumRequestIntegerEnumResponse { return &e } + +// OASEnumResponseInt32EnumRequestIntegerEnumResponseValues returns every known OASEnumResponseInt32EnumRequestIntegerEnumResponse value in schema order. +func OASEnumResponseInt32EnumRequestIntegerEnumResponseValues() []OASEnumResponseInt32EnumRequestIntegerEnumResponse { + return []OASEnumResponseInt32EnumRequestIntegerEnumResponse{ + OASEnumResponseInt32EnumRequestIntegerEnumResponseOne, + OASEnumResponseInt32EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumResponseInt32EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -99,6 +123,14 @@ const ( func (e Int32NoenumRequestInt32EnumResponse) ToPointer() *Int32NoenumRequestInt32EnumResponse { return &e } + +// Int32NoenumRequestInt32EnumResponseValues returns every known Int32NoenumRequestInt32EnumResponse value in schema order. +func Int32NoenumRequestInt32EnumResponseValues() []Int32NoenumRequestInt32EnumResponse { + return []Int32NoenumRequestInt32EnumResponse{ + Int32NoenumRequestInt32EnumResponseOne, + Int32NoenumRequestInt32EnumResponseTwo, + } +} func (e *Int32NoenumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -126,6 +158,14 @@ const ( func (e Int32NoenumRequestInt64EnumResponse) ToPointer() *Int32NoenumRequestInt64EnumResponse { return &e } + +// Int32NoenumRequestInt64EnumResponseValues returns every known Int32NoenumRequestInt64EnumResponse value in schema order. +func Int32NoenumRequestInt64EnumResponseValues() []Int32NoenumRequestInt64EnumResponse { + return []Int32NoenumRequestInt64EnumResponse{ + Int32NoenumRequestInt64EnumResponseOne, + Int32NoenumRequestInt64EnumResponseTwo, + } +} func (e *Int32NoenumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -153,6 +193,14 @@ const ( func (e Int32NoenumRequestIntegerEnumResponse) ToPointer() *Int32NoenumRequestIntegerEnumResponse { return &e } + +// Int32NoenumRequestIntegerEnumResponseValues returns every known Int32NoenumRequestIntegerEnumResponse value in schema order. +func Int32NoenumRequestIntegerEnumResponseValues() []Int32NoenumRequestIntegerEnumResponse { + return []Int32NoenumRequestIntegerEnumResponse{ + Int32NoenumRequestIntegerEnumResponseOne, + Int32NoenumRequestIntegerEnumResponseTwo, + } +} func (e *Int32NoenumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -180,6 +228,14 @@ const ( func (e OASEnumResponseInt64EnumRequestInt32EnumResponse) ToPointer() *OASEnumResponseInt64EnumRequestInt32EnumResponse { return &e } + +// OASEnumResponseInt64EnumRequestInt32EnumResponseValues returns every known OASEnumResponseInt64EnumRequestInt32EnumResponse value in schema order. +func OASEnumResponseInt64EnumRequestInt32EnumResponseValues() []OASEnumResponseInt64EnumRequestInt32EnumResponse { + return []OASEnumResponseInt64EnumRequestInt32EnumResponse{ + OASEnumResponseInt64EnumRequestInt32EnumResponseOne, + OASEnumResponseInt64EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumResponseInt64EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -207,6 +263,14 @@ const ( func (e OASEnumResponseInt64EnumRequestInt64EnumResponse) ToPointer() *OASEnumResponseInt64EnumRequestInt64EnumResponse { return &e } + +// OASEnumResponseInt64EnumRequestInt64EnumResponseValues returns every known OASEnumResponseInt64EnumRequestInt64EnumResponse value in schema order. +func OASEnumResponseInt64EnumRequestInt64EnumResponseValues() []OASEnumResponseInt64EnumRequestInt64EnumResponse { + return []OASEnumResponseInt64EnumRequestInt64EnumResponse{ + OASEnumResponseInt64EnumRequestInt64EnumResponseOne, + OASEnumResponseInt64EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumResponseInt64EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -234,6 +298,14 @@ const ( func (e OASEnumResponseInt64EnumRequestIntegerEnumResponse) ToPointer() *OASEnumResponseInt64EnumRequestIntegerEnumResponse { return &e } + +// OASEnumResponseInt64EnumRequestIntegerEnumResponseValues returns every known OASEnumResponseInt64EnumRequestIntegerEnumResponse value in schema order. +func OASEnumResponseInt64EnumRequestIntegerEnumResponseValues() []OASEnumResponseInt64EnumRequestIntegerEnumResponse { + return []OASEnumResponseInt64EnumRequestIntegerEnumResponse{ + OASEnumResponseInt64EnumRequestIntegerEnumResponseOne, + OASEnumResponseInt64EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumResponseInt64EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -261,6 +333,14 @@ const ( func (e Int64NoenumRequestInt32EnumResponse) ToPointer() *Int64NoenumRequestInt32EnumResponse { return &e } + +// Int64NoenumRequestInt32EnumResponseValues returns every known Int64NoenumRequestInt32EnumResponse value in schema order. +func Int64NoenumRequestInt32EnumResponseValues() []Int64NoenumRequestInt32EnumResponse { + return []Int64NoenumRequestInt32EnumResponse{ + Int64NoenumRequestInt32EnumResponseOne, + Int64NoenumRequestInt32EnumResponseTwo, + } +} func (e *Int64NoenumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -288,6 +368,14 @@ const ( func (e Int64NoenumRequestInt64EnumResponse) ToPointer() *Int64NoenumRequestInt64EnumResponse { return &e } + +// Int64NoenumRequestInt64EnumResponseValues returns every known Int64NoenumRequestInt64EnumResponse value in schema order. +func Int64NoenumRequestInt64EnumResponseValues() []Int64NoenumRequestInt64EnumResponse { + return []Int64NoenumRequestInt64EnumResponse{ + Int64NoenumRequestInt64EnumResponseOne, + Int64NoenumRequestInt64EnumResponseTwo, + } +} func (e *Int64NoenumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -315,6 +403,14 @@ const ( func (e Int64NoenumRequestIntegerEnumResponse) ToPointer() *Int64NoenumRequestIntegerEnumResponse { return &e } + +// Int64NoenumRequestIntegerEnumResponseValues returns every known Int64NoenumRequestIntegerEnumResponse value in schema order. +func Int64NoenumRequestIntegerEnumResponseValues() []Int64NoenumRequestIntegerEnumResponse { + return []Int64NoenumRequestIntegerEnumResponse{ + Int64NoenumRequestIntegerEnumResponseOne, + Int64NoenumRequestIntegerEnumResponseTwo, + } +} func (e *Int64NoenumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -341,6 +437,14 @@ const ( func (e OASEnumResponseListInt32EnumRequestInt32EnumResponse) ToPointer() *OASEnumResponseListInt32EnumRequestInt32EnumResponse { return &e } + +// OASEnumResponseListInt32EnumRequestInt32EnumResponseValues returns every known OASEnumResponseListInt32EnumRequestInt32EnumResponse value in schema order. +func OASEnumResponseListInt32EnumRequestInt32EnumResponseValues() []OASEnumResponseListInt32EnumRequestInt32EnumResponse { + return []OASEnumResponseListInt32EnumRequestInt32EnumResponse{ + OASEnumResponseListInt32EnumRequestInt32EnumResponseOne, + OASEnumResponseListInt32EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumResponseListInt32EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -367,6 +471,14 @@ const ( func (e OASEnumResponseListInt32EnumRequestInt32EnumResponseNullable) ToPointer() *OASEnumResponseListInt32EnumRequestInt32EnumResponseNullable { return &e } + +// OASEnumResponseListInt32EnumRequestInt32EnumResponseNullableValues returns every known OASEnumResponseListInt32EnumRequestInt32EnumResponseNullable value in schema order. +func OASEnumResponseListInt32EnumRequestInt32EnumResponseNullableValues() []OASEnumResponseListInt32EnumRequestInt32EnumResponseNullable { + return []OASEnumResponseListInt32EnumRequestInt32EnumResponseNullable{ + OASEnumResponseListInt32EnumRequestInt32EnumResponseNullableOne, + OASEnumResponseListInt32EnumRequestInt32EnumResponseNullableTwo, + } +} func (e *OASEnumResponseListInt32EnumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -393,6 +505,14 @@ const ( func (e OASEnumResponseListInt32EnumRequestInt64EnumResponse) ToPointer() *OASEnumResponseListInt32EnumRequestInt64EnumResponse { return &e } + +// OASEnumResponseListInt32EnumRequestInt64EnumResponseValues returns every known OASEnumResponseListInt32EnumRequestInt64EnumResponse value in schema order. +func OASEnumResponseListInt32EnumRequestInt64EnumResponseValues() []OASEnumResponseListInt32EnumRequestInt64EnumResponse { + return []OASEnumResponseListInt32EnumRequestInt64EnumResponse{ + OASEnumResponseListInt32EnumRequestInt64EnumResponseOne, + OASEnumResponseListInt32EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumResponseListInt32EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -419,6 +539,14 @@ const ( func (e OASEnumResponseListInt32EnumRequestInt64EnumResponseNullable) ToPointer() *OASEnumResponseListInt32EnumRequestInt64EnumResponseNullable { return &e } + +// OASEnumResponseListInt32EnumRequestInt64EnumResponseNullableValues returns every known OASEnumResponseListInt32EnumRequestInt64EnumResponseNullable value in schema order. +func OASEnumResponseListInt32EnumRequestInt64EnumResponseNullableValues() []OASEnumResponseListInt32EnumRequestInt64EnumResponseNullable { + return []OASEnumResponseListInt32EnumRequestInt64EnumResponseNullable{ + OASEnumResponseListInt32EnumRequestInt64EnumResponseNullableOne, + OASEnumResponseListInt32EnumRequestInt64EnumResponseNullableTwo, + } +} func (e *OASEnumResponseListInt32EnumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -445,6 +573,14 @@ const ( func (e OASEnumResponseListInt32EnumRequestIntegerEnumResponse) ToPointer() *OASEnumResponseListInt32EnumRequestIntegerEnumResponse { return &e } + +// OASEnumResponseListInt32EnumRequestIntegerEnumResponseValues returns every known OASEnumResponseListInt32EnumRequestIntegerEnumResponse value in schema order. +func OASEnumResponseListInt32EnumRequestIntegerEnumResponseValues() []OASEnumResponseListInt32EnumRequestIntegerEnumResponse { + return []OASEnumResponseListInt32EnumRequestIntegerEnumResponse{ + OASEnumResponseListInt32EnumRequestIntegerEnumResponseOne, + OASEnumResponseListInt32EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumResponseListInt32EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -471,6 +607,14 @@ const ( func (e OASEnumResponseListInt32EnumRequestIntegerEnumResponseNullable) ToPointer() *OASEnumResponseListInt32EnumRequestIntegerEnumResponseNullable { return &e } + +// OASEnumResponseListInt32EnumRequestIntegerEnumResponseNullableValues returns every known OASEnumResponseListInt32EnumRequestIntegerEnumResponseNullable value in schema order. +func OASEnumResponseListInt32EnumRequestIntegerEnumResponseNullableValues() []OASEnumResponseListInt32EnumRequestIntegerEnumResponseNullable { + return []OASEnumResponseListInt32EnumRequestIntegerEnumResponseNullable{ + OASEnumResponseListInt32EnumRequestIntegerEnumResponseNullableOne, + OASEnumResponseListInt32EnumRequestIntegerEnumResponseNullableTwo, + } +} func (e *OASEnumResponseListInt32EnumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -497,6 +641,14 @@ const ( func (e ListInt32NoenumRequestInt32EnumResponse) ToPointer() *ListInt32NoenumRequestInt32EnumResponse { return &e } + +// ListInt32NoenumRequestInt32EnumResponseValues returns every known ListInt32NoenumRequestInt32EnumResponse value in schema order. +func ListInt32NoenumRequestInt32EnumResponseValues() []ListInt32NoenumRequestInt32EnumResponse { + return []ListInt32NoenumRequestInt32EnumResponse{ + ListInt32NoenumRequestInt32EnumResponseOne, + ListInt32NoenumRequestInt32EnumResponseTwo, + } +} func (e *ListInt32NoenumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -523,6 +675,14 @@ const ( func (e ListInt32NoenumRequestInt32EnumResponseNullable) ToPointer() *ListInt32NoenumRequestInt32EnumResponseNullable { return &e } + +// ListInt32NoenumRequestInt32EnumResponseNullableValues returns every known ListInt32NoenumRequestInt32EnumResponseNullable value in schema order. +func ListInt32NoenumRequestInt32EnumResponseNullableValues() []ListInt32NoenumRequestInt32EnumResponseNullable { + return []ListInt32NoenumRequestInt32EnumResponseNullable{ + ListInt32NoenumRequestInt32EnumResponseNullableOne, + ListInt32NoenumRequestInt32EnumResponseNullableTwo, + } +} func (e *ListInt32NoenumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -549,6 +709,14 @@ const ( func (e ListInt32NoenumRequestInt64EnumResponse) ToPointer() *ListInt32NoenumRequestInt64EnumResponse { return &e } + +// ListInt32NoenumRequestInt64EnumResponseValues returns every known ListInt32NoenumRequestInt64EnumResponse value in schema order. +func ListInt32NoenumRequestInt64EnumResponseValues() []ListInt32NoenumRequestInt64EnumResponse { + return []ListInt32NoenumRequestInt64EnumResponse{ + ListInt32NoenumRequestInt64EnumResponseOne, + ListInt32NoenumRequestInt64EnumResponseTwo, + } +} func (e *ListInt32NoenumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -575,6 +743,14 @@ const ( func (e ListInt32NoenumRequestInt64EnumResponseNullable) ToPointer() *ListInt32NoenumRequestInt64EnumResponseNullable { return &e } + +// ListInt32NoenumRequestInt64EnumResponseNullableValues returns every known ListInt32NoenumRequestInt64EnumResponseNullable value in schema order. +func ListInt32NoenumRequestInt64EnumResponseNullableValues() []ListInt32NoenumRequestInt64EnumResponseNullable { + return []ListInt32NoenumRequestInt64EnumResponseNullable{ + ListInt32NoenumRequestInt64EnumResponseNullableOne, + ListInt32NoenumRequestInt64EnumResponseNullableTwo, + } +} func (e *ListInt32NoenumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -601,6 +777,14 @@ const ( func (e ListInt32NoenumRequestIntegerEnumResponse) ToPointer() *ListInt32NoenumRequestIntegerEnumResponse { return &e } + +// ListInt32NoenumRequestIntegerEnumResponseValues returns every known ListInt32NoenumRequestIntegerEnumResponse value in schema order. +func ListInt32NoenumRequestIntegerEnumResponseValues() []ListInt32NoenumRequestIntegerEnumResponse { + return []ListInt32NoenumRequestIntegerEnumResponse{ + ListInt32NoenumRequestIntegerEnumResponseOne, + ListInt32NoenumRequestIntegerEnumResponseTwo, + } +} func (e *ListInt32NoenumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -627,6 +811,14 @@ const ( func (e ListInt32NoenumRequestIntegerEnumResponseNullable) ToPointer() *ListInt32NoenumRequestIntegerEnumResponseNullable { return &e } + +// ListInt32NoenumRequestIntegerEnumResponseNullableValues returns every known ListInt32NoenumRequestIntegerEnumResponseNullable value in schema order. +func ListInt32NoenumRequestIntegerEnumResponseNullableValues() []ListInt32NoenumRequestIntegerEnumResponseNullable { + return []ListInt32NoenumRequestIntegerEnumResponseNullable{ + ListInt32NoenumRequestIntegerEnumResponseNullableOne, + ListInt32NoenumRequestIntegerEnumResponseNullableTwo, + } +} func (e *ListInt32NoenumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -653,6 +845,14 @@ const ( func (e OASEnumResponseListInt64EnumRequestInt32EnumResponse) ToPointer() *OASEnumResponseListInt64EnumRequestInt32EnumResponse { return &e } + +// OASEnumResponseListInt64EnumRequestInt32EnumResponseValues returns every known OASEnumResponseListInt64EnumRequestInt32EnumResponse value in schema order. +func OASEnumResponseListInt64EnumRequestInt32EnumResponseValues() []OASEnumResponseListInt64EnumRequestInt32EnumResponse { + return []OASEnumResponseListInt64EnumRequestInt32EnumResponse{ + OASEnumResponseListInt64EnumRequestInt32EnumResponseOne, + OASEnumResponseListInt64EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumResponseListInt64EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -679,6 +879,14 @@ const ( func (e OASEnumResponseListInt64EnumRequestInt32EnumResponseNullable) ToPointer() *OASEnumResponseListInt64EnumRequestInt32EnumResponseNullable { return &e } + +// OASEnumResponseListInt64EnumRequestInt32EnumResponseNullableValues returns every known OASEnumResponseListInt64EnumRequestInt32EnumResponseNullable value in schema order. +func OASEnumResponseListInt64EnumRequestInt32EnumResponseNullableValues() []OASEnumResponseListInt64EnumRequestInt32EnumResponseNullable { + return []OASEnumResponseListInt64EnumRequestInt32EnumResponseNullable{ + OASEnumResponseListInt64EnumRequestInt32EnumResponseNullableOne, + OASEnumResponseListInt64EnumRequestInt32EnumResponseNullableTwo, + } +} func (e *OASEnumResponseListInt64EnumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -705,6 +913,14 @@ const ( func (e OASEnumResponseListInt64EnumRequestInt64EnumResponse) ToPointer() *OASEnumResponseListInt64EnumRequestInt64EnumResponse { return &e } + +// OASEnumResponseListInt64EnumRequestInt64EnumResponseValues returns every known OASEnumResponseListInt64EnumRequestInt64EnumResponse value in schema order. +func OASEnumResponseListInt64EnumRequestInt64EnumResponseValues() []OASEnumResponseListInt64EnumRequestInt64EnumResponse { + return []OASEnumResponseListInt64EnumRequestInt64EnumResponse{ + OASEnumResponseListInt64EnumRequestInt64EnumResponseOne, + OASEnumResponseListInt64EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumResponseListInt64EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -731,6 +947,14 @@ const ( func (e OASEnumResponseListInt64EnumRequestInt64EnumResponseNullable) ToPointer() *OASEnumResponseListInt64EnumRequestInt64EnumResponseNullable { return &e } + +// OASEnumResponseListInt64EnumRequestInt64EnumResponseNullableValues returns every known OASEnumResponseListInt64EnumRequestInt64EnumResponseNullable value in schema order. +func OASEnumResponseListInt64EnumRequestInt64EnumResponseNullableValues() []OASEnumResponseListInt64EnumRequestInt64EnumResponseNullable { + return []OASEnumResponseListInt64EnumRequestInt64EnumResponseNullable{ + OASEnumResponseListInt64EnumRequestInt64EnumResponseNullableOne, + OASEnumResponseListInt64EnumRequestInt64EnumResponseNullableTwo, + } +} func (e *OASEnumResponseListInt64EnumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -757,6 +981,14 @@ const ( func (e OASEnumResponseListInt64EnumRequestIntegerEnumResponse) ToPointer() *OASEnumResponseListInt64EnumRequestIntegerEnumResponse { return &e } + +// OASEnumResponseListInt64EnumRequestIntegerEnumResponseValues returns every known OASEnumResponseListInt64EnumRequestIntegerEnumResponse value in schema order. +func OASEnumResponseListInt64EnumRequestIntegerEnumResponseValues() []OASEnumResponseListInt64EnumRequestIntegerEnumResponse { + return []OASEnumResponseListInt64EnumRequestIntegerEnumResponse{ + OASEnumResponseListInt64EnumRequestIntegerEnumResponseOne, + OASEnumResponseListInt64EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumResponseListInt64EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -783,6 +1015,14 @@ const ( func (e OASEnumResponseListInt64EnumRequestIntegerEnumResponseNullable) ToPointer() *OASEnumResponseListInt64EnumRequestIntegerEnumResponseNullable { return &e } + +// OASEnumResponseListInt64EnumRequestIntegerEnumResponseNullableValues returns every known OASEnumResponseListInt64EnumRequestIntegerEnumResponseNullable value in schema order. +func OASEnumResponseListInt64EnumRequestIntegerEnumResponseNullableValues() []OASEnumResponseListInt64EnumRequestIntegerEnumResponseNullable { + return []OASEnumResponseListInt64EnumRequestIntegerEnumResponseNullable{ + OASEnumResponseListInt64EnumRequestIntegerEnumResponseNullableOne, + OASEnumResponseListInt64EnumRequestIntegerEnumResponseNullableTwo, + } +} func (e *OASEnumResponseListInt64EnumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -809,6 +1049,14 @@ const ( func (e ListInt64NoenumRequestInt32EnumResponse) ToPointer() *ListInt64NoenumRequestInt32EnumResponse { return &e } + +// ListInt64NoenumRequestInt32EnumResponseValues returns every known ListInt64NoenumRequestInt32EnumResponse value in schema order. +func ListInt64NoenumRequestInt32EnumResponseValues() []ListInt64NoenumRequestInt32EnumResponse { + return []ListInt64NoenumRequestInt32EnumResponse{ + ListInt64NoenumRequestInt32EnumResponseOne, + ListInt64NoenumRequestInt32EnumResponseTwo, + } +} func (e *ListInt64NoenumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -835,6 +1083,14 @@ const ( func (e ListInt64NoenumRequestInt32EnumResponseNullable) ToPointer() *ListInt64NoenumRequestInt32EnumResponseNullable { return &e } + +// ListInt64NoenumRequestInt32EnumResponseNullableValues returns every known ListInt64NoenumRequestInt32EnumResponseNullable value in schema order. +func ListInt64NoenumRequestInt32EnumResponseNullableValues() []ListInt64NoenumRequestInt32EnumResponseNullable { + return []ListInt64NoenumRequestInt32EnumResponseNullable{ + ListInt64NoenumRequestInt32EnumResponseNullableOne, + ListInt64NoenumRequestInt32EnumResponseNullableTwo, + } +} func (e *ListInt64NoenumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -861,6 +1117,14 @@ const ( func (e ListInt64NoenumRequestInt64EnumResponse) ToPointer() *ListInt64NoenumRequestInt64EnumResponse { return &e } + +// ListInt64NoenumRequestInt64EnumResponseValues returns every known ListInt64NoenumRequestInt64EnumResponse value in schema order. +func ListInt64NoenumRequestInt64EnumResponseValues() []ListInt64NoenumRequestInt64EnumResponse { + return []ListInt64NoenumRequestInt64EnumResponse{ + ListInt64NoenumRequestInt64EnumResponseOne, + ListInt64NoenumRequestInt64EnumResponseTwo, + } +} func (e *ListInt64NoenumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -887,6 +1151,14 @@ const ( func (e ListInt64NoenumRequestInt64EnumResponseNullable) ToPointer() *ListInt64NoenumRequestInt64EnumResponseNullable { return &e } + +// ListInt64NoenumRequestInt64EnumResponseNullableValues returns every known ListInt64NoenumRequestInt64EnumResponseNullable value in schema order. +func ListInt64NoenumRequestInt64EnumResponseNullableValues() []ListInt64NoenumRequestInt64EnumResponseNullable { + return []ListInt64NoenumRequestInt64EnumResponseNullable{ + ListInt64NoenumRequestInt64EnumResponseNullableOne, + ListInt64NoenumRequestInt64EnumResponseNullableTwo, + } +} func (e *ListInt64NoenumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -913,6 +1185,14 @@ const ( func (e ListInt64NoenumRequestIntegerEnumResponse) ToPointer() *ListInt64NoenumRequestIntegerEnumResponse { return &e } + +// ListInt64NoenumRequestIntegerEnumResponseValues returns every known ListInt64NoenumRequestIntegerEnumResponse value in schema order. +func ListInt64NoenumRequestIntegerEnumResponseValues() []ListInt64NoenumRequestIntegerEnumResponse { + return []ListInt64NoenumRequestIntegerEnumResponse{ + ListInt64NoenumRequestIntegerEnumResponseOne, + ListInt64NoenumRequestIntegerEnumResponseTwo, + } +} func (e *ListInt64NoenumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -939,6 +1219,14 @@ const ( func (e ListInt64NoenumRequestIntegerEnumResponseNullable) ToPointer() *ListInt64NoenumRequestIntegerEnumResponseNullable { return &e } + +// ListInt64NoenumRequestIntegerEnumResponseNullableValues returns every known ListInt64NoenumRequestIntegerEnumResponseNullable value in schema order. +func ListInt64NoenumRequestIntegerEnumResponseNullableValues() []ListInt64NoenumRequestIntegerEnumResponseNullable { + return []ListInt64NoenumRequestIntegerEnumResponseNullable{ + ListInt64NoenumRequestIntegerEnumResponseNullableOne, + ListInt64NoenumRequestIntegerEnumResponseNullableTwo, + } +} func (e *ListInt64NoenumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -965,6 +1253,14 @@ const ( func (e OASEnumResponseListIntegerRequestAndResponse) ToPointer() *OASEnumResponseListIntegerRequestAndResponse { return &e } + +// OASEnumResponseListIntegerRequestAndResponseValues returns every known OASEnumResponseListIntegerRequestAndResponse value in schema order. +func OASEnumResponseListIntegerRequestAndResponseValues() []OASEnumResponseListIntegerRequestAndResponse { + return []OASEnumResponseListIntegerRequestAndResponse{ + OASEnumResponseListIntegerRequestAndResponseOne, + OASEnumResponseListIntegerRequestAndResponseTwo, + } +} func (e *OASEnumResponseListIntegerRequestAndResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -991,6 +1287,14 @@ const ( func (e ListIntegerResponse) ToPointer() *ListIntegerResponse { return &e } + +// ListIntegerResponseValues returns every known ListIntegerResponse value in schema order. +func ListIntegerResponseValues() []ListIntegerResponse { + return []ListIntegerResponse{ + ListIntegerResponseOne, + ListIntegerResponseTwo, + } +} func (e *ListIntegerResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1017,6 +1321,14 @@ const ( func (e OASEnumResponseListStringRequestAndResponse) ToPointer() *OASEnumResponseListStringRequestAndResponse { return &e } + +// OASEnumResponseListStringRequestAndResponseValues returns every known OASEnumResponseListStringRequestAndResponse value in schema order. +func OASEnumResponseListStringRequestAndResponseValues() []OASEnumResponseListStringRequestAndResponse { + return []OASEnumResponseListStringRequestAndResponse{ + OASEnumResponseListStringRequestAndResponseOne, + OASEnumResponseListStringRequestAndResponseTwo, + } +} func (e *OASEnumResponseListStringRequestAndResponse) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1043,6 +1355,14 @@ const ( func (e ListStringResponse) ToPointer() *ListStringResponse { return &e } + +// ListStringResponseValues returns every known ListStringResponse value in schema order. +func ListStringResponseValues() []ListStringResponse { + return []ListStringResponse{ + ListStringResponseOne, + ListStringResponseTwo, + } +} func (e *ListStringResponse) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1069,6 +1389,14 @@ const ( func (e OASEnumResponseListNestedRequestAndResponseListNestedInteger) ToPointer() *OASEnumResponseListNestedRequestAndResponseListNestedInteger { return &e } + +// OASEnumResponseListNestedRequestAndResponseListNestedIntegerValues returns every known OASEnumResponseListNestedRequestAndResponseListNestedInteger value in schema order. +func OASEnumResponseListNestedRequestAndResponseListNestedIntegerValues() []OASEnumResponseListNestedRequestAndResponseListNestedInteger { + return []OASEnumResponseListNestedRequestAndResponseListNestedInteger{ + OASEnumResponseListNestedRequestAndResponseListNestedIntegerOne, + OASEnumResponseListNestedRequestAndResponseListNestedIntegerTwo, + } +} func (e *OASEnumResponseListNestedRequestAndResponseListNestedInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1095,6 +1423,14 @@ const ( func (e OASEnumResponseListNestedRequestAndResponseListNestedString) ToPointer() *OASEnumResponseListNestedRequestAndResponseListNestedString { return &e } + +// OASEnumResponseListNestedRequestAndResponseListNestedStringValues returns every known OASEnumResponseListNestedRequestAndResponseListNestedString value in schema order. +func OASEnumResponseListNestedRequestAndResponseListNestedStringValues() []OASEnumResponseListNestedRequestAndResponseListNestedString { + return []OASEnumResponseListNestedRequestAndResponseListNestedString{ + OASEnumResponseListNestedRequestAndResponseListNestedStringOne, + OASEnumResponseListNestedRequestAndResponseListNestedStringTwo, + } +} func (e *OASEnumResponseListNestedRequestAndResponseListNestedString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1159,6 +1495,14 @@ const ( func (e ListNestedResponseListNestedInteger) ToPointer() *ListNestedResponseListNestedInteger { return &e } + +// ListNestedResponseListNestedIntegerValues returns every known ListNestedResponseListNestedInteger value in schema order. +func ListNestedResponseListNestedIntegerValues() []ListNestedResponseListNestedInteger { + return []ListNestedResponseListNestedInteger{ + ListNestedResponseListNestedIntegerOne, + ListNestedResponseListNestedIntegerTwo, + } +} func (e *ListNestedResponseListNestedInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1185,6 +1529,14 @@ const ( func (e ListNestedResponseListNestedString) ToPointer() *ListNestedResponseListNestedString { return &e } + +// ListNestedResponseListNestedStringValues returns every known ListNestedResponseListNestedString value in schema order. +func ListNestedResponseListNestedStringValues() []ListNestedResponseListNestedString { + return []ListNestedResponseListNestedString{ + ListNestedResponseListNestedStringOne, + ListNestedResponseListNestedStringTwo, + } +} func (e *ListNestedResponseListNestedString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1230,6 +1582,14 @@ const ( func (e OASEnumResponseObjectRequestAndResponseObjectInteger) ToPointer() *OASEnumResponseObjectRequestAndResponseObjectInteger { return &e } + +// OASEnumResponseObjectRequestAndResponseObjectIntegerValues returns every known OASEnumResponseObjectRequestAndResponseObjectInteger value in schema order. +func OASEnumResponseObjectRequestAndResponseObjectIntegerValues() []OASEnumResponseObjectRequestAndResponseObjectInteger { + return []OASEnumResponseObjectRequestAndResponseObjectInteger{ + OASEnumResponseObjectRequestAndResponseObjectIntegerOne, + OASEnumResponseObjectRequestAndResponseObjectIntegerTwo, + } +} func (e *OASEnumResponseObjectRequestAndResponseObjectInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1256,6 +1616,14 @@ const ( func (e OASEnumResponseObjectRequestAndResponseObjectString) ToPointer() *OASEnumResponseObjectRequestAndResponseObjectString { return &e } + +// OASEnumResponseObjectRequestAndResponseObjectStringValues returns every known OASEnumResponseObjectRequestAndResponseObjectString value in schema order. +func OASEnumResponseObjectRequestAndResponseObjectStringValues() []OASEnumResponseObjectRequestAndResponseObjectString { + return []OASEnumResponseObjectRequestAndResponseObjectString{ + OASEnumResponseObjectRequestAndResponseObjectStringOne, + OASEnumResponseObjectRequestAndResponseObjectStringTwo, + } +} func (e *OASEnumResponseObjectRequestAndResponseObjectString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1322,6 +1690,14 @@ const ( func (e ObjectResponseObjectInteger) ToPointer() *ObjectResponseObjectInteger { return &e } + +// ObjectResponseObjectIntegerValues returns every known ObjectResponseObjectInteger value in schema order. +func ObjectResponseObjectIntegerValues() []ObjectResponseObjectInteger { + return []ObjectResponseObjectInteger{ + ObjectResponseObjectIntegerOne, + ObjectResponseObjectIntegerTwo, + } +} func (e *ObjectResponseObjectInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1348,6 +1724,14 @@ const ( func (e ObjectResponseObjectString) ToPointer() *ObjectResponseObjectString { return &e } + +// ObjectResponseObjectStringValues returns every known ObjectResponseObjectString value in schema order. +func ObjectResponseObjectStringValues() []ObjectResponseObjectString { + return []ObjectResponseObjectString{ + ObjectResponseObjectStringOne, + ObjectResponseObjectStringTwo, + } +} func (e *ObjectResponseObjectString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -1394,6 +1778,14 @@ const ( func (e OASEnumResponseSetInt32EnumRequestInt32EnumResponse) ToPointer() *OASEnumResponseSetInt32EnumRequestInt32EnumResponse { return &e } + +// OASEnumResponseSetInt32EnumRequestInt32EnumResponseValues returns every known OASEnumResponseSetInt32EnumRequestInt32EnumResponse value in schema order. +func OASEnumResponseSetInt32EnumRequestInt32EnumResponseValues() []OASEnumResponseSetInt32EnumRequestInt32EnumResponse { + return []OASEnumResponseSetInt32EnumRequestInt32EnumResponse{ + OASEnumResponseSetInt32EnumRequestInt32EnumResponseOne, + OASEnumResponseSetInt32EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumResponseSetInt32EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1420,6 +1812,14 @@ const ( func (e OASEnumResponseSetInt32EnumRequestInt32EnumResponseNullable) ToPointer() *OASEnumResponseSetInt32EnumRequestInt32EnumResponseNullable { return &e } + +// OASEnumResponseSetInt32EnumRequestInt32EnumResponseNullableValues returns every known OASEnumResponseSetInt32EnumRequestInt32EnumResponseNullable value in schema order. +func OASEnumResponseSetInt32EnumRequestInt32EnumResponseNullableValues() []OASEnumResponseSetInt32EnumRequestInt32EnumResponseNullable { + return []OASEnumResponseSetInt32EnumRequestInt32EnumResponseNullable{ + OASEnumResponseSetInt32EnumRequestInt32EnumResponseNullableOne, + OASEnumResponseSetInt32EnumRequestInt32EnumResponseNullableTwo, + } +} func (e *OASEnumResponseSetInt32EnumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1446,6 +1846,14 @@ const ( func (e OASEnumResponseSetInt32EnumRequestInt64EnumResponse) ToPointer() *OASEnumResponseSetInt32EnumRequestInt64EnumResponse { return &e } + +// OASEnumResponseSetInt32EnumRequestInt64EnumResponseValues returns every known OASEnumResponseSetInt32EnumRequestInt64EnumResponse value in schema order. +func OASEnumResponseSetInt32EnumRequestInt64EnumResponseValues() []OASEnumResponseSetInt32EnumRequestInt64EnumResponse { + return []OASEnumResponseSetInt32EnumRequestInt64EnumResponse{ + OASEnumResponseSetInt32EnumRequestInt64EnumResponseOne, + OASEnumResponseSetInt32EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumResponseSetInt32EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1472,6 +1880,14 @@ const ( func (e OASEnumResponseSetInt32EnumRequestInt64EnumResponseNullable) ToPointer() *OASEnumResponseSetInt32EnumRequestInt64EnumResponseNullable { return &e } + +// OASEnumResponseSetInt32EnumRequestInt64EnumResponseNullableValues returns every known OASEnumResponseSetInt32EnumRequestInt64EnumResponseNullable value in schema order. +func OASEnumResponseSetInt32EnumRequestInt64EnumResponseNullableValues() []OASEnumResponseSetInt32EnumRequestInt64EnumResponseNullable { + return []OASEnumResponseSetInt32EnumRequestInt64EnumResponseNullable{ + OASEnumResponseSetInt32EnumRequestInt64EnumResponseNullableOne, + OASEnumResponseSetInt32EnumRequestInt64EnumResponseNullableTwo, + } +} func (e *OASEnumResponseSetInt32EnumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1498,6 +1914,14 @@ const ( func (e OASEnumResponseSetInt32EnumRequestIntegerEnumResponse) ToPointer() *OASEnumResponseSetInt32EnumRequestIntegerEnumResponse { return &e } + +// OASEnumResponseSetInt32EnumRequestIntegerEnumResponseValues returns every known OASEnumResponseSetInt32EnumRequestIntegerEnumResponse value in schema order. +func OASEnumResponseSetInt32EnumRequestIntegerEnumResponseValues() []OASEnumResponseSetInt32EnumRequestIntegerEnumResponse { + return []OASEnumResponseSetInt32EnumRequestIntegerEnumResponse{ + OASEnumResponseSetInt32EnumRequestIntegerEnumResponseOne, + OASEnumResponseSetInt32EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumResponseSetInt32EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1524,6 +1948,14 @@ const ( func (e OASEnumResponseSetInt32EnumRequestIntegerEnumResponseNullable) ToPointer() *OASEnumResponseSetInt32EnumRequestIntegerEnumResponseNullable { return &e } + +// OASEnumResponseSetInt32EnumRequestIntegerEnumResponseNullableValues returns every known OASEnumResponseSetInt32EnumRequestIntegerEnumResponseNullable value in schema order. +func OASEnumResponseSetInt32EnumRequestIntegerEnumResponseNullableValues() []OASEnumResponseSetInt32EnumRequestIntegerEnumResponseNullable { + return []OASEnumResponseSetInt32EnumRequestIntegerEnumResponseNullable{ + OASEnumResponseSetInt32EnumRequestIntegerEnumResponseNullableOne, + OASEnumResponseSetInt32EnumRequestIntegerEnumResponseNullableTwo, + } +} func (e *OASEnumResponseSetInt32EnumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1550,6 +1982,14 @@ const ( func (e SetInt32NoenumRequestInt32EnumResponse) ToPointer() *SetInt32NoenumRequestInt32EnumResponse { return &e } + +// SetInt32NoenumRequestInt32EnumResponseValues returns every known SetInt32NoenumRequestInt32EnumResponse value in schema order. +func SetInt32NoenumRequestInt32EnumResponseValues() []SetInt32NoenumRequestInt32EnumResponse { + return []SetInt32NoenumRequestInt32EnumResponse{ + SetInt32NoenumRequestInt32EnumResponseOne, + SetInt32NoenumRequestInt32EnumResponseTwo, + } +} func (e *SetInt32NoenumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1576,6 +2016,14 @@ const ( func (e SetInt32NoenumRequestInt32EnumResponseNullable) ToPointer() *SetInt32NoenumRequestInt32EnumResponseNullable { return &e } + +// SetInt32NoenumRequestInt32EnumResponseNullableValues returns every known SetInt32NoenumRequestInt32EnumResponseNullable value in schema order. +func SetInt32NoenumRequestInt32EnumResponseNullableValues() []SetInt32NoenumRequestInt32EnumResponseNullable { + return []SetInt32NoenumRequestInt32EnumResponseNullable{ + SetInt32NoenumRequestInt32EnumResponseNullableOne, + SetInt32NoenumRequestInt32EnumResponseNullableTwo, + } +} func (e *SetInt32NoenumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1602,6 +2050,14 @@ const ( func (e SetInt32NoenumRequestInt64EnumResponse) ToPointer() *SetInt32NoenumRequestInt64EnumResponse { return &e } + +// SetInt32NoenumRequestInt64EnumResponseValues returns every known SetInt32NoenumRequestInt64EnumResponse value in schema order. +func SetInt32NoenumRequestInt64EnumResponseValues() []SetInt32NoenumRequestInt64EnumResponse { + return []SetInt32NoenumRequestInt64EnumResponse{ + SetInt32NoenumRequestInt64EnumResponseOne, + SetInt32NoenumRequestInt64EnumResponseTwo, + } +} func (e *SetInt32NoenumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1628,6 +2084,14 @@ const ( func (e SetInt32NoenumRequestInt64EnumResponseNullable) ToPointer() *SetInt32NoenumRequestInt64EnumResponseNullable { return &e } + +// SetInt32NoenumRequestInt64EnumResponseNullableValues returns every known SetInt32NoenumRequestInt64EnumResponseNullable value in schema order. +func SetInt32NoenumRequestInt64EnumResponseNullableValues() []SetInt32NoenumRequestInt64EnumResponseNullable { + return []SetInt32NoenumRequestInt64EnumResponseNullable{ + SetInt32NoenumRequestInt64EnumResponseNullableOne, + SetInt32NoenumRequestInt64EnumResponseNullableTwo, + } +} func (e *SetInt32NoenumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1654,6 +2118,14 @@ const ( func (e SetInt32NoenumRequestIntegerEnumResponse) ToPointer() *SetInt32NoenumRequestIntegerEnumResponse { return &e } + +// SetInt32NoenumRequestIntegerEnumResponseValues returns every known SetInt32NoenumRequestIntegerEnumResponse value in schema order. +func SetInt32NoenumRequestIntegerEnumResponseValues() []SetInt32NoenumRequestIntegerEnumResponse { + return []SetInt32NoenumRequestIntegerEnumResponse{ + SetInt32NoenumRequestIntegerEnumResponseOne, + SetInt32NoenumRequestIntegerEnumResponseTwo, + } +} func (e *SetInt32NoenumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1680,6 +2152,14 @@ const ( func (e SetInt32NoenumRequestIntegerEnumResponseNullable) ToPointer() *SetInt32NoenumRequestIntegerEnumResponseNullable { return &e } + +// SetInt32NoenumRequestIntegerEnumResponseNullableValues returns every known SetInt32NoenumRequestIntegerEnumResponseNullable value in schema order. +func SetInt32NoenumRequestIntegerEnumResponseNullableValues() []SetInt32NoenumRequestIntegerEnumResponseNullable { + return []SetInt32NoenumRequestIntegerEnumResponseNullable{ + SetInt32NoenumRequestIntegerEnumResponseNullableOne, + SetInt32NoenumRequestIntegerEnumResponseNullableTwo, + } +} func (e *SetInt32NoenumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1706,6 +2186,14 @@ const ( func (e OASEnumResponseSetInt64EnumRequestInt32EnumResponse) ToPointer() *OASEnumResponseSetInt64EnumRequestInt32EnumResponse { return &e } + +// OASEnumResponseSetInt64EnumRequestInt32EnumResponseValues returns every known OASEnumResponseSetInt64EnumRequestInt32EnumResponse value in schema order. +func OASEnumResponseSetInt64EnumRequestInt32EnumResponseValues() []OASEnumResponseSetInt64EnumRequestInt32EnumResponse { + return []OASEnumResponseSetInt64EnumRequestInt32EnumResponse{ + OASEnumResponseSetInt64EnumRequestInt32EnumResponseOne, + OASEnumResponseSetInt64EnumRequestInt32EnumResponseTwo, + } +} func (e *OASEnumResponseSetInt64EnumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1732,6 +2220,14 @@ const ( func (e OASEnumResponseSetInt64EnumRequestInt32EnumResponseNullable) ToPointer() *OASEnumResponseSetInt64EnumRequestInt32EnumResponseNullable { return &e } + +// OASEnumResponseSetInt64EnumRequestInt32EnumResponseNullableValues returns every known OASEnumResponseSetInt64EnumRequestInt32EnumResponseNullable value in schema order. +func OASEnumResponseSetInt64EnumRequestInt32EnumResponseNullableValues() []OASEnumResponseSetInt64EnumRequestInt32EnumResponseNullable { + return []OASEnumResponseSetInt64EnumRequestInt32EnumResponseNullable{ + OASEnumResponseSetInt64EnumRequestInt32EnumResponseNullableOne, + OASEnumResponseSetInt64EnumRequestInt32EnumResponseNullableTwo, + } +} func (e *OASEnumResponseSetInt64EnumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1758,6 +2254,14 @@ const ( func (e OASEnumResponseSetInt64EnumRequestInt64EnumResponse) ToPointer() *OASEnumResponseSetInt64EnumRequestInt64EnumResponse { return &e } + +// OASEnumResponseSetInt64EnumRequestInt64EnumResponseValues returns every known OASEnumResponseSetInt64EnumRequestInt64EnumResponse value in schema order. +func OASEnumResponseSetInt64EnumRequestInt64EnumResponseValues() []OASEnumResponseSetInt64EnumRequestInt64EnumResponse { + return []OASEnumResponseSetInt64EnumRequestInt64EnumResponse{ + OASEnumResponseSetInt64EnumRequestInt64EnumResponseOne, + OASEnumResponseSetInt64EnumRequestInt64EnumResponseTwo, + } +} func (e *OASEnumResponseSetInt64EnumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1784,6 +2288,14 @@ const ( func (e OASEnumResponseSetInt64EnumRequestInt64EnumResponseNullable) ToPointer() *OASEnumResponseSetInt64EnumRequestInt64EnumResponseNullable { return &e } + +// OASEnumResponseSetInt64EnumRequestInt64EnumResponseNullableValues returns every known OASEnumResponseSetInt64EnumRequestInt64EnumResponseNullable value in schema order. +func OASEnumResponseSetInt64EnumRequestInt64EnumResponseNullableValues() []OASEnumResponseSetInt64EnumRequestInt64EnumResponseNullable { + return []OASEnumResponseSetInt64EnumRequestInt64EnumResponseNullable{ + OASEnumResponseSetInt64EnumRequestInt64EnumResponseNullableOne, + OASEnumResponseSetInt64EnumRequestInt64EnumResponseNullableTwo, + } +} func (e *OASEnumResponseSetInt64EnumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1810,6 +2322,14 @@ const ( func (e OASEnumResponseSetInt64EnumRequestIntegerEnumResponse) ToPointer() *OASEnumResponseSetInt64EnumRequestIntegerEnumResponse { return &e } + +// OASEnumResponseSetInt64EnumRequestIntegerEnumResponseValues returns every known OASEnumResponseSetInt64EnumRequestIntegerEnumResponse value in schema order. +func OASEnumResponseSetInt64EnumRequestIntegerEnumResponseValues() []OASEnumResponseSetInt64EnumRequestIntegerEnumResponse { + return []OASEnumResponseSetInt64EnumRequestIntegerEnumResponse{ + OASEnumResponseSetInt64EnumRequestIntegerEnumResponseOne, + OASEnumResponseSetInt64EnumRequestIntegerEnumResponseTwo, + } +} func (e *OASEnumResponseSetInt64EnumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1836,6 +2356,14 @@ const ( func (e OASEnumResponseSetInt64EnumRequestIntegerEnumResponseNullable) ToPointer() *OASEnumResponseSetInt64EnumRequestIntegerEnumResponseNullable { return &e } + +// OASEnumResponseSetInt64EnumRequestIntegerEnumResponseNullableValues returns every known OASEnumResponseSetInt64EnumRequestIntegerEnumResponseNullable value in schema order. +func OASEnumResponseSetInt64EnumRequestIntegerEnumResponseNullableValues() []OASEnumResponseSetInt64EnumRequestIntegerEnumResponseNullable { + return []OASEnumResponseSetInt64EnumRequestIntegerEnumResponseNullable{ + OASEnumResponseSetInt64EnumRequestIntegerEnumResponseNullableOne, + OASEnumResponseSetInt64EnumRequestIntegerEnumResponseNullableTwo, + } +} func (e *OASEnumResponseSetInt64EnumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1862,6 +2390,14 @@ const ( func (e SetInt64NoenumRequestInt32EnumResponse) ToPointer() *SetInt64NoenumRequestInt32EnumResponse { return &e } + +// SetInt64NoenumRequestInt32EnumResponseValues returns every known SetInt64NoenumRequestInt32EnumResponse value in schema order. +func SetInt64NoenumRequestInt32EnumResponseValues() []SetInt64NoenumRequestInt32EnumResponse { + return []SetInt64NoenumRequestInt32EnumResponse{ + SetInt64NoenumRequestInt32EnumResponseOne, + SetInt64NoenumRequestInt32EnumResponseTwo, + } +} func (e *SetInt64NoenumRequestInt32EnumResponse) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1888,6 +2424,14 @@ const ( func (e SetInt64NoenumRequestInt32EnumResponseNullable) ToPointer() *SetInt64NoenumRequestInt32EnumResponseNullable { return &e } + +// SetInt64NoenumRequestInt32EnumResponseNullableValues returns every known SetInt64NoenumRequestInt32EnumResponseNullable value in schema order. +func SetInt64NoenumRequestInt32EnumResponseNullableValues() []SetInt64NoenumRequestInt32EnumResponseNullable { + return []SetInt64NoenumRequestInt32EnumResponseNullable{ + SetInt64NoenumRequestInt32EnumResponseNullableOne, + SetInt64NoenumRequestInt32EnumResponseNullableTwo, + } +} func (e *SetInt64NoenumRequestInt32EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int if err := json.Unmarshal(data, &v); err != nil { @@ -1914,6 +2458,14 @@ const ( func (e SetInt64NoenumRequestInt64EnumResponse) ToPointer() *SetInt64NoenumRequestInt64EnumResponse { return &e } + +// SetInt64NoenumRequestInt64EnumResponseValues returns every known SetInt64NoenumRequestInt64EnumResponse value in schema order. +func SetInt64NoenumRequestInt64EnumResponseValues() []SetInt64NoenumRequestInt64EnumResponse { + return []SetInt64NoenumRequestInt64EnumResponse{ + SetInt64NoenumRequestInt64EnumResponseOne, + SetInt64NoenumRequestInt64EnumResponseTwo, + } +} func (e *SetInt64NoenumRequestInt64EnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1940,6 +2492,14 @@ const ( func (e SetInt64NoenumRequestInt64EnumResponseNullable) ToPointer() *SetInt64NoenumRequestInt64EnumResponseNullable { return &e } + +// SetInt64NoenumRequestInt64EnumResponseNullableValues returns every known SetInt64NoenumRequestInt64EnumResponseNullable value in schema order. +func SetInt64NoenumRequestInt64EnumResponseNullableValues() []SetInt64NoenumRequestInt64EnumResponseNullable { + return []SetInt64NoenumRequestInt64EnumResponseNullable{ + SetInt64NoenumRequestInt64EnumResponseNullableOne, + SetInt64NoenumRequestInt64EnumResponseNullableTwo, + } +} func (e *SetInt64NoenumRequestInt64EnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1966,6 +2526,14 @@ const ( func (e SetInt64NoenumRequestIntegerEnumResponse) ToPointer() *SetInt64NoenumRequestIntegerEnumResponse { return &e } + +// SetInt64NoenumRequestIntegerEnumResponseValues returns every known SetInt64NoenumRequestIntegerEnumResponse value in schema order. +func SetInt64NoenumRequestIntegerEnumResponseValues() []SetInt64NoenumRequestIntegerEnumResponse { + return []SetInt64NoenumRequestIntegerEnumResponse{ + SetInt64NoenumRequestIntegerEnumResponseOne, + SetInt64NoenumRequestIntegerEnumResponseTwo, + } +} func (e *SetInt64NoenumRequestIntegerEnumResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -1992,6 +2560,14 @@ const ( func (e SetInt64NoenumRequestIntegerEnumResponseNullable) ToPointer() *SetInt64NoenumRequestIntegerEnumResponseNullable { return &e } + +// SetInt64NoenumRequestIntegerEnumResponseNullableValues returns every known SetInt64NoenumRequestIntegerEnumResponseNullable value in schema order. +func SetInt64NoenumRequestIntegerEnumResponseNullableValues() []SetInt64NoenumRequestIntegerEnumResponseNullable { + return []SetInt64NoenumRequestIntegerEnumResponseNullable{ + SetInt64NoenumRequestIntegerEnumResponseNullableOne, + SetInt64NoenumRequestIntegerEnumResponseNullableTwo, + } +} func (e *SetInt64NoenumRequestIntegerEnumResponseNullable) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2018,6 +2594,14 @@ const ( func (e OASEnumResponseSetIntegerRequestAndResponse) ToPointer() *OASEnumResponseSetIntegerRequestAndResponse { return &e } + +// OASEnumResponseSetIntegerRequestAndResponseValues returns every known OASEnumResponseSetIntegerRequestAndResponse value in schema order. +func OASEnumResponseSetIntegerRequestAndResponseValues() []OASEnumResponseSetIntegerRequestAndResponse { + return []OASEnumResponseSetIntegerRequestAndResponse{ + OASEnumResponseSetIntegerRequestAndResponseOne, + OASEnumResponseSetIntegerRequestAndResponseTwo, + } +} func (e *OASEnumResponseSetIntegerRequestAndResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2044,6 +2628,14 @@ const ( func (e SetIntegerResponse) ToPointer() *SetIntegerResponse { return &e } + +// SetIntegerResponseValues returns every known SetIntegerResponse value in schema order. +func SetIntegerResponseValues() []SetIntegerResponse { + return []SetIntegerResponse{ + SetIntegerResponseOne, + SetIntegerResponseTwo, + } +} func (e *SetIntegerResponse) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2070,6 +2662,14 @@ const ( func (e OASEnumResponseSetStringRequestAndResponse) ToPointer() *OASEnumResponseSetStringRequestAndResponse { return &e } + +// OASEnumResponseSetStringRequestAndResponseValues returns every known OASEnumResponseSetStringRequestAndResponse value in schema order. +func OASEnumResponseSetStringRequestAndResponseValues() []OASEnumResponseSetStringRequestAndResponse { + return []OASEnumResponseSetStringRequestAndResponse{ + OASEnumResponseSetStringRequestAndResponseOne, + OASEnumResponseSetStringRequestAndResponseTwo, + } +} func (e *OASEnumResponseSetStringRequestAndResponse) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2096,6 +2696,14 @@ const ( func (e SetStringResponse) ToPointer() *SetStringResponse { return &e } + +// SetStringResponseValues returns every known SetStringResponse value in schema order. +func SetStringResponseValues() []SetStringResponse { + return []SetStringResponse{ + SetStringResponseOne, + SetStringResponseTwo, + } +} func (e *SetStringResponse) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2122,6 +2730,14 @@ const ( func (e OASEnumResponseSetNestedRequestAndResponseSetNestedInteger) ToPointer() *OASEnumResponseSetNestedRequestAndResponseSetNestedInteger { return &e } + +// OASEnumResponseSetNestedRequestAndResponseSetNestedIntegerValues returns every known OASEnumResponseSetNestedRequestAndResponseSetNestedInteger value in schema order. +func OASEnumResponseSetNestedRequestAndResponseSetNestedIntegerValues() []OASEnumResponseSetNestedRequestAndResponseSetNestedInteger { + return []OASEnumResponseSetNestedRequestAndResponseSetNestedInteger{ + OASEnumResponseSetNestedRequestAndResponseSetNestedIntegerOne, + OASEnumResponseSetNestedRequestAndResponseSetNestedIntegerTwo, + } +} func (e *OASEnumResponseSetNestedRequestAndResponseSetNestedInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2148,6 +2764,14 @@ const ( func (e OASEnumResponseSetNestedRequestAndResponseSetNestedString) ToPointer() *OASEnumResponseSetNestedRequestAndResponseSetNestedString { return &e } + +// OASEnumResponseSetNestedRequestAndResponseSetNestedStringValues returns every known OASEnumResponseSetNestedRequestAndResponseSetNestedString value in schema order. +func OASEnumResponseSetNestedRequestAndResponseSetNestedStringValues() []OASEnumResponseSetNestedRequestAndResponseSetNestedString { + return []OASEnumResponseSetNestedRequestAndResponseSetNestedString{ + OASEnumResponseSetNestedRequestAndResponseSetNestedStringOne, + OASEnumResponseSetNestedRequestAndResponseSetNestedStringTwo, + } +} func (e *OASEnumResponseSetNestedRequestAndResponseSetNestedString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2212,6 +2836,14 @@ const ( func (e SetNestedResponseSetNestedInteger) ToPointer() *SetNestedResponseSetNestedInteger { return &e } + +// SetNestedResponseSetNestedIntegerValues returns every known SetNestedResponseSetNestedInteger value in schema order. +func SetNestedResponseSetNestedIntegerValues() []SetNestedResponseSetNestedInteger { + return []SetNestedResponseSetNestedInteger{ + SetNestedResponseSetNestedIntegerOne, + SetNestedResponseSetNestedIntegerTwo, + } +} func (e *SetNestedResponseSetNestedInteger) UnmarshalJSON(data []byte) error { var v int64 if err := json.Unmarshal(data, &v); err != nil { @@ -2238,6 +2870,14 @@ const ( func (e SetNestedResponseSetNestedString) ToPointer() *SetNestedResponseSetNestedString { return &e } + +// SetNestedResponseSetNestedStringValues returns every known SetNestedResponseSetNestedString value in schema order. +func SetNestedResponseSetNestedStringValues() []SetNestedResponseSetNestedString { + return []SetNestedResponseSetNestedString{ + SetNestedResponseSetNestedStringOne, + SetNestedResponseSetNestedStringTwo, + } +} func (e *SetNestedResponseSetNestedString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2284,6 +2924,14 @@ const ( func (e OASEnumResponseStringRequestAndResponse) ToPointer() *OASEnumResponseStringRequestAndResponse { return &e } + +// OASEnumResponseStringRequestAndResponseValues returns every known OASEnumResponseStringRequestAndResponse value in schema order. +func OASEnumResponseStringRequestAndResponseValues() []OASEnumResponseStringRequestAndResponse { + return []OASEnumResponseStringRequestAndResponse{ + OASEnumResponseStringRequestAndResponseOne, + OASEnumResponseStringRequestAndResponseTwo, + } +} func (e *OASEnumResponseStringRequestAndResponse) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -2311,6 +2959,14 @@ const ( func (e StringResponse) ToPointer() *StringResponse { return &e } + +// StringResponseValues returns every known StringResponse value in schema order. +func StringResponseValues() []StringResponse { + return []StringResponse{ + StringResponseOne, + StringResponseTwo, + } +} func (e *StringResponse) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xpollingstatus.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xpollingstatus.go index eb390a39e..306f71b34 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xpollingstatus.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xpollingstatus.go @@ -20,6 +20,16 @@ const ( func (e XPollingStatus) ToPointer() *XPollingStatus { return &e } + +// XPollingStatusValues returns every known XPollingStatus value in schema order. +func XPollingStatusValues() []XPollingStatus { + return []XPollingStatus{ + XPollingStatusCompleted, + XPollingStatusFailed, + XPollingStatusPending, + XPollingStatusStarting, + } +} func (e *XPollingStatus) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xunknownvaluesrequest.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xunknownvaluesrequest.go index a7ee5212e..9556634f0 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xunknownvaluesrequest.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xunknownvaluesrequest.go @@ -19,6 +19,15 @@ func (e XUnknownValuesRequestRequiredOpenEnumString) ToPointer() *XUnknownValues return &e } +// XUnknownValuesRequestRequiredOpenEnumStringValues returns every known XUnknownValuesRequestRequiredOpenEnumString value in schema order. +func XUnknownValuesRequestRequiredOpenEnumStringValues() []XUnknownValuesRequestRequiredOpenEnumString { + return []XUnknownValuesRequestRequiredOpenEnumString{ + XUnknownValuesRequestRequiredOpenEnumStringAlpha, + XUnknownValuesRequestRequiredOpenEnumStringBeta, + XUnknownValuesRequestRequiredOpenEnumStringGamma, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *XUnknownValuesRequestRequiredOpenEnumString) IsExact() bool { if e != nil { @@ -42,6 +51,15 @@ func (e OptionalOpenEnumString) ToPointer() *OptionalOpenEnumString { return &e } +// OptionalOpenEnumStringValues returns every known OptionalOpenEnumString value in schema order. +func OptionalOpenEnumStringValues() []OptionalOpenEnumString { + return []OptionalOpenEnumString{ + OptionalOpenEnumStringRed, + OptionalOpenEnumStringGreen, + OptionalOpenEnumStringBlue, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *OptionalOpenEnumString) IsExact() bool { if e != nil { @@ -65,6 +83,15 @@ func (e XUnknownValuesRequestOptionalComputedOpenEnumString) ToPointer() *XUnkno return &e } +// XUnknownValuesRequestOptionalComputedOpenEnumStringValues returns every known XUnknownValuesRequestOptionalComputedOpenEnumString value in schema order. +func XUnknownValuesRequestOptionalComputedOpenEnumStringValues() []XUnknownValuesRequestOptionalComputedOpenEnumString { + return []XUnknownValuesRequestOptionalComputedOpenEnumString{ + XUnknownValuesRequestOptionalComputedOpenEnumStringSmall, + XUnknownValuesRequestOptionalComputedOpenEnumStringMedium, + XUnknownValuesRequestOptionalComputedOpenEnumStringLarge, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *XUnknownValuesRequestOptionalComputedOpenEnumString) IsExact() bool { if e != nil { @@ -88,6 +115,15 @@ func (e XUnknownValuesRequestOptionalComputedOpenEnumInt64) ToPointer() *XUnknow return &e } +// XUnknownValuesRequestOptionalComputedOpenEnumInt64Values returns every known XUnknownValuesRequestOptionalComputedOpenEnumInt64 value in schema order. +func XUnknownValuesRequestOptionalComputedOpenEnumInt64Values() []XUnknownValuesRequestOptionalComputedOpenEnumInt64 { + return []XUnknownValuesRequestOptionalComputedOpenEnumInt64{ + XUnknownValuesRequestOptionalComputedOpenEnumInt64One, + XUnknownValuesRequestOptionalComputedOpenEnumInt64Two, + XUnknownValuesRequestOptionalComputedOpenEnumInt64Three, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *XUnknownValuesRequestOptionalComputedOpenEnumInt64) IsExact() bool { if e != nil { @@ -110,6 +146,14 @@ const ( func (e XUnknownValuesRequestClosedEnumString) ToPointer() *XUnknownValuesRequestClosedEnumString { return &e } + +// XUnknownValuesRequestClosedEnumStringValues returns every known XUnknownValuesRequestClosedEnumString value in schema order. +func XUnknownValuesRequestClosedEnumStringValues() []XUnknownValuesRequestClosedEnumString { + return []XUnknownValuesRequestClosedEnumString{ + XUnknownValuesRequestClosedEnumStringOn, + XUnknownValuesRequestClosedEnumStringOff, + } +} func (e *XUnknownValuesRequestClosedEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xunknownvaluesresponse.go b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xunknownvaluesresponse.go index a13ff7e01..8a1d074b7 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xunknownvaluesresponse.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/models/shared/xunknownvaluesresponse.go @@ -19,6 +19,15 @@ func (e XUnknownValuesResponseRequiredOpenEnumString) ToPointer() *XUnknownValue return &e } +// XUnknownValuesResponseRequiredOpenEnumStringValues returns every known XUnknownValuesResponseRequiredOpenEnumString value in schema order. +func XUnknownValuesResponseRequiredOpenEnumStringValues() []XUnknownValuesResponseRequiredOpenEnumString { + return []XUnknownValuesResponseRequiredOpenEnumString{ + XUnknownValuesResponseRequiredOpenEnumStringAlpha, + XUnknownValuesResponseRequiredOpenEnumStringBeta, + XUnknownValuesResponseRequiredOpenEnumStringGamma, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *XUnknownValuesResponseRequiredOpenEnumString) IsExact() bool { if e != nil { @@ -42,6 +51,15 @@ func (e XUnknownValuesResponseOptionalComputedOpenEnumString) ToPointer() *XUnkn return &e } +// XUnknownValuesResponseOptionalComputedOpenEnumStringValues returns every known XUnknownValuesResponseOptionalComputedOpenEnumString value in schema order. +func XUnknownValuesResponseOptionalComputedOpenEnumStringValues() []XUnknownValuesResponseOptionalComputedOpenEnumString { + return []XUnknownValuesResponseOptionalComputedOpenEnumString{ + XUnknownValuesResponseOptionalComputedOpenEnumStringSmall, + XUnknownValuesResponseOptionalComputedOpenEnumStringMedium, + XUnknownValuesResponseOptionalComputedOpenEnumStringLarge, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *XUnknownValuesResponseOptionalComputedOpenEnumString) IsExact() bool { if e != nil { @@ -65,6 +83,15 @@ func (e XUnknownValuesResponseOptionalComputedOpenEnumInt64) ToPointer() *XUnkno return &e } +// XUnknownValuesResponseOptionalComputedOpenEnumInt64Values returns every known XUnknownValuesResponseOptionalComputedOpenEnumInt64 value in schema order. +func XUnknownValuesResponseOptionalComputedOpenEnumInt64Values() []XUnknownValuesResponseOptionalComputedOpenEnumInt64 { + return []XUnknownValuesResponseOptionalComputedOpenEnumInt64{ + XUnknownValuesResponseOptionalComputedOpenEnumInt64One, + XUnknownValuesResponseOptionalComputedOpenEnumInt64Two, + XUnknownValuesResponseOptionalComputedOpenEnumInt64Three, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *XUnknownValuesResponseOptionalComputedOpenEnumInt64) IsExact() bool { if e != nil { @@ -86,6 +113,14 @@ const ( func (e XUnknownValuesResponseClosedEnumString) ToPointer() *XUnknownValuesResponseClosedEnumString { return &e } + +// XUnknownValuesResponseClosedEnumStringValues returns every known XUnknownValuesResponseClosedEnumString value in schema order. +func XUnknownValuesResponseClosedEnumStringValues() []XUnknownValuesResponseClosedEnumString { + return []XUnknownValuesResponseClosedEnumString{ + XUnknownValuesResponseClosedEnumStringOn, + XUnknownValuesResponseClosedEnumStringOff, + } +} func (e *XUnknownValuesResponseClosedEnumString) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { @@ -114,6 +149,15 @@ func (e ResponseOnlyOpenEnumString) ToPointer() *ResponseOnlyOpenEnumString { return &e } +// ResponseOnlyOpenEnumStringValues returns every known ResponseOnlyOpenEnumString value in schema order. +func ResponseOnlyOpenEnumStringValues() []ResponseOnlyOpenEnumString { + return []ResponseOnlyOpenEnumString{ + ResponseOnlyOpenEnumStringActive, + ResponseOnlyOpenEnumStringInactive, + ResponseOnlyOpenEnumStringPending, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *ResponseOnlyOpenEnumString) IsExact() bool { if e != nil { @@ -137,6 +181,15 @@ func (e ResponseOnlyOpenEnumInt64) ToPointer() *ResponseOnlyOpenEnumInt64 { return &e } +// ResponseOnlyOpenEnumInt64Values returns every known ResponseOnlyOpenEnumInt64 value in schema order. +func ResponseOnlyOpenEnumInt64Values() []ResponseOnlyOpenEnumInt64 { + return []ResponseOnlyOpenEnumInt64{ + ResponseOnlyOpenEnumInt64OneHundred, + ResponseOnlyOpenEnumInt64TwoHundred, + ResponseOnlyOpenEnumInt64ThreeHundred, + } +} + // IsExact returns true if the value matches a known enum value, false otherwise. func (e *ResponseOnlyOpenEnumInt64) IsExact() bool { if e != nil { diff --git a/zSDKs/terraform-provider-testing/internal/sdk/sdk.go b/zSDKs/terraform-provider-testing/internal/sdk/sdk.go index f30e72d66..a0e7e08ee 100644 --- a/zSDKs/terraform-provider-testing/internal/sdk/sdk.go +++ b/zSDKs/terraform-provider-testing/internal/sdk/sdk.go @@ -132,6 +132,14 @@ const ( func (e ServerPort) ToPointer() *ServerPort { return &e } + +// ServerPortValues returns every known ServerPort value in schema order. +func ServerPortValues() []ServerPort { + return []ServerPort{ + ServerPortEightThousandFourHundredAndFortyThree, + ServerPortThirtyFiveThousandOneHundredAndTwentyThree, + } +} func (e *ServerPort) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil {