From 35ea8e3165297cb50536e6b24241bc8d4864b5bc Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 10 Sep 2024 15:15:34 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.395.0 --- .speakeasy/gen.lock | 11 +- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 8 +- README.md | 20 +- RELEASES.md | 12 +- USAGE.md | 20 +- docs/Models/Components/DomainSchema.md | 4 +- docs/Models/Components/Link.md | 38 +- docs/Models/Components/LinkSchema.md | 34 +- docs/Models/Components/WorkspaceSchema.md | 10 +- .../Operations/CreateDomainRequestBody.md | 2 +- .../Operations/CreateLinkRequestBody.md | 10 +- docs/Models/Operations/Data.md | 8 +- docs/Models/Operations/RequestBody.md | 10 +- .../Models/Operations/TrackSaleRequestBody.md | 2 +- .../Operations/UpdateDomainRequestBody.md | 2 +- .../Operations/UpdateLinkRequestBody.md | 10 +- .../Operations/UpsertLinkRequestBody.md | 10 +- docs/sdks/domains/README.md | 4 +- docs/sdks/links/README.md | 38 +- docs/sdks/track/README.md | 2 +- src/Analytics.php | 2 +- src/Domains.php | 2 +- src/Events.php | 2 +- src/Links.php | 2 +- src/Metatags.php | 2 +- src/Models/Components/AnalyticsBrowsers.php | 12 +- src/Models/Components/AnalyticsCities.php | 14 +- src/Models/Components/AnalyticsCount.php | 10 +- src/Models/Components/AnalyticsCountries.php | 14 +- src/Models/Components/AnalyticsDevices.php | 12 +- src/Models/Components/AnalyticsOS.php | 12 +- src/Models/Components/AnalyticsReferers.php | 12 +- src/Models/Components/AnalyticsTimeseries.php | 12 +- src/Models/Components/AnalyticsTopLinks.php | 24 +- src/Models/Components/AnalyticsTopUrls.php | 12 +- src/Models/Components/Click.php | 24 +- src/Models/Components/ClickEvent.php | 36 +- src/Models/Components/ClickEventGeo.php | 500 +++++++++--------- src/Models/Components/DomainSchema.php | 24 +- src/Models/Components/Domains.php | 8 +- src/Models/Components/Geo.php | 500 +++++++++--------- src/Models/Components/Link.php | 174 +++--- src/Models/Components/LinkGeoTargeting.php | 500 +++++++++--------- src/Models/Components/LinkSchema.php | 162 +++--- src/Models/Components/Security.php | 4 +- src/Models/Components/TagSchema.php | 8 +- src/Models/Components/Users.php | 4 +- src/Models/Components/WorkspaceSchema.php | 74 +-- src/Models/Errors/BadRequest.php | 4 +- src/Models/Errors/Conflict.php | 4 +- src/Models/Errors/ConflictError.php | 8 +- src/Models/Errors/Error.php | 8 +- src/Models/Errors/Forbidden.php | 4 +- src/Models/Errors/ForbiddenError.php | 8 +- src/Models/Errors/InternalServerError.php | 4 +- .../Errors/InternalServerErrorError.php | 8 +- src/Models/Errors/InviteExpired.php | 4 +- src/Models/Errors/InviteExpiredError.php | 8 +- src/Models/Errors/NotFound.php | 4 +- src/Models/Errors/NotFoundError.php | 8 +- src/Models/Errors/RateLimitExceeded.php | 4 +- src/Models/Errors/RateLimitExceededError.php | 8 +- src/Models/Errors/Unauthorized.php | 4 +- src/Models/Errors/UnauthorizedError.php | 8 +- src/Models/Errors/UnprocessableEntity.php | 4 +- .../Errors/UnprocessableEntityError.php | 8 +- .../Operations/BulkCreateLinksResponse.php | 8 +- .../Operations/BulkDeleteLinksRequest.php | 4 +- .../Operations/BulkDeleteLinksResponse.php | 8 +- .../BulkDeleteLinksResponseBody.php | 4 +- .../Operations/BulkUpdateLinksRequestBody.php | 6 +- .../Operations/BulkUpdateLinksResponse.php | 8 +- src/Models/Operations/Click.php | 4 +- .../Operations/CreateDomainRequestBody.php | 14 +- .../Operations/CreateDomainResponse.php | 8 +- .../Operations/CreateLinkRequestBody.php | 86 +-- src/Models/Operations/CreateLinkResponse.php | 8 +- .../Operations/CreateTagRequestBody.php | 6 +- src/Models/Operations/CreateTagResponse.php | 8 +- src/Models/Operations/Customer.php | 16 +- src/Models/Operations/Data.php | 74 +-- src/Models/Operations/DeleteDomainRequest.php | 4 +- .../Operations/DeleteDomainResponse.php | 8 +- .../Operations/DeleteDomainResponseBody.php | 4 +- src/Models/Operations/DeleteLinkRequest.php | 4 +- src/Models/Operations/DeleteLinkResponse.php | 8 +- .../Operations/DeleteLinkResponseBody.php | 4 +- src/Models/Operations/DeleteTagRequest.php | 4 +- src/Models/Operations/DeleteTagResponse.php | 8 +- .../Operations/DeleteTagResponseBody.php | 4 +- src/Models/Operations/GetLinkInfoResponse.php | 8 +- .../Operations/GetLinksCountResponse.php | 8 +- src/Models/Operations/GetLinksResponse.php | 8 +- src/Models/Operations/GetMetatagsRequest.php | 4 +- src/Models/Operations/GetMetatagsResponse.php | 8 +- .../Operations/GetMetatagsResponseBody.php | 12 +- src/Models/Operations/GetQRCodeRequest.php | 4 +- src/Models/Operations/GetQRCodeResponse.php | 8 +- src/Models/Operations/GetTagsResponse.php | 8 +- src/Models/Operations/GetWorkspaceRequest.php | 4 +- .../Operations/GetWorkspaceResponse.php | 8 +- src/Models/Operations/ListDomainsResponse.php | 8 +- src/Models/Operations/ListEventsResponse.php | 8 +- src/Models/Operations/RequestBody.php | 86 +-- .../Operations/RetrieveAnalyticsResponse.php | 8 +- src/Models/Operations/Sale.php | 18 +- .../Operations/TrackCustomerRequestBody.php | 10 +- .../Operations/TrackCustomerResponse.php | 8 +- .../Operations/TrackCustomerResponseBody.php | 16 +- .../Operations/TrackLeadRequestBody.php | 16 +- src/Models/Operations/TrackLeadResponse.php | 8 +- .../Operations/TrackLeadResponseBody.php | 6 +- src/Models/Operations/TrackSaleCustomer.php | 16 +- .../Operations/TrackSaleRequestBody.php | 20 +- src/Models/Operations/TrackSaleResponse.php | 8 +- .../Operations/TrackSaleResponseBody.php | 8 +- src/Models/Operations/UpdateDomainRequest.php | 4 +- .../Operations/UpdateDomainRequestBody.php | 14 +- .../Operations/UpdateDomainResponse.php | 8 +- src/Models/Operations/UpdateLinkRequest.php | 4 +- .../Operations/UpdateLinkRequestBody.php | 86 +-- src/Models/Operations/UpdateLinkResponse.php | 8 +- src/Models/Operations/UpdateTagRequest.php | 4 +- .../Operations/UpdateTagRequestBody.php | 6 +- src/Models/Operations/UpdateTagResponse.php | 8 +- .../Operations/UpdateWorkspaceRequest.php | 4 +- .../Operations/UpdateWorkspaceRequestBody.php | 4 +- .../Operations/UpdateWorkspaceResponse.php | 8 +- .../Operations/UpsertLinkRequestBody.php | 86 +-- src/Models/Operations/UpsertLinkResponse.php | 8 +- src/QRCodes.php | 2 +- src/SDKConfiguration.php | 6 +- src/Tags.php | 2 +- src/Track.php | 2 +- src/Utils/DateHandler.php | 12 + src/Utils/DateTimeHandler.php | 12 + src/Utils/DefaultRequest.php | 106 ++++ src/Utils/DefaultUri.php | 95 ++++ src/Utils/JSON.php | 7 +- src/Utils/UnionHandler.php | 17 +- src/Workspaces.php | 2 +- 142 files changed, 1964 insertions(+), 1712 deletions(-) create mode 100644 src/Utils/DefaultRequest.php create mode 100644 src/Utils/DefaultUri.php diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index dbc28e0..b83dffe 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,10 +3,10 @@ id: 43187d3e-7c3c-4c11-b5d4-4b2334fb6d96 management: docChecksum: 2e29304d123e35c2bf5bfc8eb02ad913 docVersion: 0.0.1 - speakeasyVersion: 1.394.0 - generationVersion: 2.413.0 - releaseVersion: 0.4.4 - configChecksum: 895835354c3bc647c359748fd7a66e34 + speakeasyVersion: 1.395.0 + generationVersion: 2.415.0 + releaseVersion: 0.5.0 + configChecksum: 3d3961fad6b7c8a94b1b458501362386 repoURL: https://github.com/dubinc/dub-php.git installationURL: https://github.com/dubinc/dub-php published: true @@ -21,6 +21,7 @@ features: globalSecurityFlattening: 0.1.0 globalServerURLs: 2.82.1 nameOverrides: 2.81.2 + nullables: 1.0.0 responseFormat: 0.1.0 unions: 0.1.1 generatedFiles: @@ -369,8 +370,10 @@ generatedFiles: - src/Track.php - src/Utils/DateHandler.php - src/Utils/DateTimeHandler.php + - src/Utils/DefaultRequest.php - src/Utils/DefaultResponse.php - src/Utils/DefaultStream.php + - src/Utils/DefaultUri.php - src/Utils/EnumHandler.php - src/Utils/FormMetadata.php - src/Utils/Headers.php diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 0ade5b2..c0604c4 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true php: - version: 0.4.4 + version: 0.5.0 clientServerStatusCodesAsErrors: true flattenGlobalSecurity: true imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 10b9d0f..1848db8 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,8 +1,8 @@ -speakeasyVersion: 1.394.0 +speakeasyVersion: 1.395.0 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:300a4af029f93c019da3287bab7583a75a62746ef634115cc81558b5a4622441 + sourceRevisionDigest: sha256:5cca193e7e0fb20f83211b337c817ef609a09bcad8cd36b64de9bf9177f267ef sourceBlobDigest: sha256:dbd9b5ac92513bb5697e6183470625d04290061c04d68d3507b753dbdba3ebe9 tags: - latest @@ -11,10 +11,10 @@ targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:300a4af029f93c019da3287bab7583a75a62746ef634115cc81558b5a4622441 + sourceRevisionDigest: sha256:5cca193e7e0fb20f83211b337c817ef609a09bcad8cd36b64de9bf9177f267ef sourceBlobDigest: sha256:dbd9b5ac92513bb5697e6183470625d04290061c04d68d3507b753dbdba3ebe9 codeSamplesNamespace: code-samples-php-my-first-target - codeSamplesRevisionDigest: sha256:457a3ba3abecfe0475a96c71b1174e617c8a436327bff539caa777fc3948406f + codeSamplesRevisionDigest: sha256:93fda2b9383390d056a287b58cef33d0a2bed436fc66332cee7de47a4174676d outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 diff --git a/README.md b/README.md index c20bb2d..9ca160e 100644 --- a/README.md +++ b/README.md @@ -57,26 +57,27 @@ try { url: 'https://google.com', domain: 'lighthearted-kilogram.name', key: '', - externalId: '123456', prefix: '', trackConversion: false, archived: false, publicStats: false, - tagId: '', tagIds: [ '', ], tagNames: '', + proxy: false, + rewrite: false, + doIndex: false, + externalId: '123456', + tagId: '', comments: '', expiresAt: '', expiredUrl: '', password: 'klDuL1dlrnUXohO', - proxy: false, title: '', description: 'User-friendly multi-state frame', image: 'https://loremflickr.com/640/480', video: '', - rewrite: false, ios: '', android: '', geo: new Components\LinkGeoTargeting( @@ -331,7 +332,6 @@ try { ss: '', xk: '', ), - doIndex: false, utmSource: '', utmMedium: '', utmCampaign: '', @@ -369,26 +369,27 @@ try { url: 'https://google.com', domain: 'monthly-hometown.info', key: '', - externalId: '123456', prefix: '', trackConversion: false, archived: false, publicStats: false, - tagId: '', tagIds: [ '', ], tagNames: '', + proxy: false, + rewrite: false, + doIndex: false, + externalId: '123456', + tagId: '', comments: '', expiresAt: '', expiredUrl: '', password: 'Ng7iwZDcrQrPcHB', - proxy: false, title: '', description: 'Organic asynchronous firmware', image: 'https://loremflickr.com/640/480', video: '', - rewrite: false, ios: '', android: '', geo: new Components\LinkGeoTargeting( @@ -643,7 +644,6 @@ try { ss: '', xk: '', ), - doIndex: false, utmSource: '', utmMedium: '', utmCampaign: '', diff --git a/RELEASES.md b/RELEASES.md index 03d303c..ee83e24 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -180,4 +180,14 @@ Based on: ### Generated - [php v0.4.4] . ### Releases -- [Composer v0.4.4] https://packagist.org/packages/dub/dub-php#v0.4.4 - . \ No newline at end of file +- [Composer v0.4.4] https://packagist.org/packages/dub/dub-php#v0.4.4 - . + +## 2024-09-10 15:13:31 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.395.0 (2.415.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [php v0.5.0] . +### Releases +- [Composer v0.5.0] https://packagist.org/packages/dub/dub-php#v0.5.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index b2f71e7..b2e6653 100644 --- a/USAGE.md +++ b/USAGE.md @@ -18,26 +18,27 @@ try { url: 'https://google.com', domain: 'lighthearted-kilogram.name', key: '', - externalId: '123456', prefix: '', trackConversion: false, archived: false, publicStats: false, - tagId: '', tagIds: [ '', ], tagNames: '', + proxy: false, + rewrite: false, + doIndex: false, + externalId: '123456', + tagId: '', comments: '', expiresAt: '', expiredUrl: '', password: 'klDuL1dlrnUXohO', - proxy: false, title: '', description: 'User-friendly multi-state frame', image: 'https://loremflickr.com/640/480', video: '', - rewrite: false, ios: '', android: '', geo: new Components\LinkGeoTargeting( @@ -292,7 +293,6 @@ try { ss: '', xk: '', ), - doIndex: false, utmSource: '', utmMedium: '', utmCampaign: '', @@ -328,26 +328,27 @@ try { url: 'https://google.com', domain: 'monthly-hometown.info', key: '', - externalId: '123456', prefix: '', trackConversion: false, archived: false, publicStats: false, - tagId: '', tagIds: [ '', ], tagNames: '', + proxy: false, + rewrite: false, + doIndex: false, + externalId: '123456', + tagId: '', comments: '', expiresAt: '', expiredUrl: '', password: 'Ng7iwZDcrQrPcHB', - proxy: false, title: '', description: 'Organic asynchronous firmware', image: 'https://loremflickr.com/640/480', video: '', - rewrite: false, ios: '', android: '', geo: new Components\LinkGeoTargeting( @@ -602,7 +603,6 @@ try { ss: '', xk: '', ), - doIndex: false, utmSource: '', utmMedium: '', utmCampaign: '', diff --git a/docs/Models/Components/DomainSchema.md b/docs/Models/Components/DomainSchema.md index 5d25e58..81d5827 100644 --- a/docs/Models/Components/DomainSchema.md +++ b/docs/Models/Components/DomainSchema.md @@ -11,6 +11,6 @@ | `primary` | *bool* | :heavy_check_mark: | Whether the domain is the primary domain for the workspace. | | | `archived` | *bool* | :heavy_check_mark: | Whether the domain is archived. | | | `placeholder` | *string* | :heavy_check_mark: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub | -| `expiredUrl` | *string* | :heavy_check_mark: | The URL to redirect to when a link under this domain has expired. | https://acme.com/expired | | `createdAt` | *string* | :heavy_check_mark: | The date the domain was created. | | -| `updatedAt` | *string* | :heavy_check_mark: | The date the domain was last updated. | | \ No newline at end of file +| `updatedAt` | *string* | :heavy_check_mark: | The date the domain was last updated. | | +| `expiredUrl` | *string* | :heavy_check_mark: | The URL to redirect to when a link under this domain has expired. | https://acme.com/expired | \ No newline at end of file diff --git a/docs/Models/Components/Link.md b/docs/Models/Components/Link.md index bdf208d..31d31a1 100644 --- a/docs/Models/Components/Link.md +++ b/docs/Models/Components/Link.md @@ -8,41 +8,41 @@ | `id` | *string* | :heavy_check_mark: | The unique ID of the short link. | | `domain` | *string* | :heavy_check_mark: | The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains). | | `key` | *string* | :heavy_check_mark: | The short link slug. If not provided, a random 7-character slug will be generated. | -| `externalId` | *string* | :heavy_check_mark: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter. | | `url` | *string* | :heavy_check_mark: | N/A | | `expiresAt` | *string* | :heavy_check_mark: | N/A | +| `shortLink` | *string* | :heavy_check_mark: | The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`). | +| `qrCode` | *string* | :heavy_check_mark: | The full URL of the QR code for the short link (e.g. `https://api.dub.co/qr?url=https://dub.sh/try`). | +| `workspaceId` | *string* | :heavy_check_mark: | The workspace ID of the short link. | +| `clicks` | *float* | :heavy_check_mark: | The number of clicks on the short link. | +| `lastClicked` | *string* | :heavy_check_mark: | N/A | +| `leads` | *float* | :heavy_check_mark: | [BETA]: The number of leads the short links has generated. | +| `sales` | *float* | :heavy_check_mark: | [BETA]: The number of sales the short links has generated. | +| `saleAmount` | *float* | :heavy_check_mark: | [BETA]: The total dollar amount of sales the short links has generated (in cents). | +| `createdAt` | *string* | :heavy_check_mark: | N/A | +| `updatedAt` | *string* | :heavy_check_mark: | N/A | +| ~~`projectId`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The project ID of the short link. This field is deprecated – use `workspaceId` instead. | +| `externalId` | *string* | :heavy_check_mark: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter. | +| `trackConversion` | *?bool* | :heavy_minus_sign: | N/A | +| `archived` | *?bool* | :heavy_minus_sign: | N/A | | `expiredUrl` | *string* | :heavy_check_mark: | The URL to redirect to when the short link has expired. | | `password` | *string* | :heavy_check_mark: | The password required to access the destination URL of the short link. | +| `proxy` | *?bool* | :heavy_minus_sign: | N/A | | `title` | *string* | :heavy_check_mark: | The title of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. | | `description` | *string* | :heavy_check_mark: | The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. | | `image` | *string* | :heavy_check_mark: | The image of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. | | `video` | *string* | :heavy_check_mark: | The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | +| `rewrite` | *?bool* | :heavy_minus_sign: | N/A | +| `doIndex` | *?bool* | :heavy_minus_sign: | N/A | | `ios` | *string* | :heavy_check_mark: | The iOS destination URL for the short link for iOS device targeting. | | `android` | *string* | :heavy_check_mark: | The Android destination URL for the short link for Android device targeting. | | `geo` | [Components\ClickEventGeo](../../Models/Components/ClickEventGeo.md) | :heavy_check_mark: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://d.to/geo | +| `publicStats` | *?bool* | :heavy_minus_sign: | N/A | | ~~`tagId`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tags` instead. | | `tags` | array<[Components\TagSchema](../../Models/Components/TagSchema.md)> | :heavy_check_mark: | The tags assigned to the short link. | | `comments` | *string* | :heavy_check_mark: | The comments for the short link. | -| `shortLink` | *string* | :heavy_check_mark: | The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`). | -| `qrCode` | *string* | :heavy_check_mark: | The full URL of the QR code for the short link (e.g. `https://api.dub.co/qr?url=https://dub.sh/try`). | | `utmSource` | *string* | :heavy_check_mark: | The UTM source of the short link. | | `utmMedium` | *string* | :heavy_check_mark: | The UTM medium of the short link. | | `utmCampaign` | *string* | :heavy_check_mark: | The UTM campaign of the short link. | | `utmTerm` | *string* | :heavy_check_mark: | The UTM term of the short link. | | `utmContent` | *string* | :heavy_check_mark: | The UTM content of the short link. | -| `userId` | *string* | :heavy_check_mark: | N/A | -| `workspaceId` | *string* | :heavy_check_mark: | The workspace ID of the short link. | -| `clicks` | *float* | :heavy_check_mark: | The number of clicks on the short link. | -| `lastClicked` | *string* | :heavy_check_mark: | N/A | -| `leads` | *float* | :heavy_check_mark: | [BETA]: The number of leads the short links has generated. | -| `sales` | *float* | :heavy_check_mark: | [BETA]: The number of sales the short links has generated. | -| `saleAmount` | *float* | :heavy_check_mark: | [BETA]: The total dollar amount of sales the short links has generated (in cents). | -| `createdAt` | *string* | :heavy_check_mark: | N/A | -| `updatedAt` | *string* | :heavy_check_mark: | N/A | -| ~~`projectId`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The project ID of the short link. This field is deprecated – use `workspaceId` instead. | -| `trackConversion` | *?bool* | :heavy_minus_sign: | N/A | -| `archived` | *?bool* | :heavy_minus_sign: | N/A | -| `proxy` | *?bool* | :heavy_minus_sign: | N/A | -| `rewrite` | *?bool* | :heavy_minus_sign: | N/A | -| `doIndex` | *?bool* | :heavy_minus_sign: | N/A | -| `publicStats` | *?bool* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `userId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/Models/Components/LinkSchema.md b/docs/Models/Components/LinkSchema.md index 9e0bcc5..cc55098 100644 --- a/docs/Models/Components/LinkSchema.md +++ b/docs/Models/Components/LinkSchema.md @@ -8,41 +8,41 @@ | `id` | *string* | :heavy_check_mark: | The unique ID of the short link. | | `domain` | *string* | :heavy_check_mark: | The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains). | | `key` | *string* | :heavy_check_mark: | The short link slug. If not provided, a random 7-character slug will be generated. | -| `externalId` | *string* | :heavy_check_mark: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter. | | `url` | *string* | :heavy_check_mark: | The destination URL of the short link. | | `trackConversion` | *bool* | :heavy_check_mark: | [BETA] Whether to track conversions for the short link. | | `archived` | *bool* | :heavy_check_mark: | Whether the short link is archived. | +| `proxy` | *bool* | :heavy_check_mark: | Whether the short link uses Custom Social Media Cards feature. | +| `rewrite` | *bool* | :heavy_check_mark: | Whether the short link uses link cloaking. | +| `doIndex` | *bool* | :heavy_check_mark: | Whether to allow search engines to index the short link. | +| `publicStats` | *bool* | :heavy_check_mark: | Whether the short link's stats are publicly accessible. | +| `shortLink` | *string* | :heavy_check_mark: | The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`). | +| `qrCode` | *string* | :heavy_check_mark: | The full URL of the QR code for the short link (e.g. `https://api.dub.co/qr?url=https://dub.sh/try`). | +| `userId` | *string* | :heavy_check_mark: | The user ID of the creator of the short link. | +| `workspaceId` | *string* | :heavy_check_mark: | The workspace ID of the short link. | +| `clicks` | *float* | :heavy_check_mark: | The number of clicks on the short link. | +| `leads` | *float* | :heavy_check_mark: | [BETA]: The number of leads the short links has generated. | +| `sales` | *float* | :heavy_check_mark: | [BETA]: The number of sales the short links has generated. | +| `saleAmount` | *float* | :heavy_check_mark: | [BETA]: The total dollar amount of sales the short links has generated (in cents). | +| `createdAt` | *string* | :heavy_check_mark: | The date and time when the short link was created. | +| `updatedAt` | *string* | :heavy_check_mark: | The date and time when the short link was last updated. | +| ~~`projectId`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The project ID of the short link. This field is deprecated – use `workspaceId` instead. | +| `externalId` | *string* | :heavy_check_mark: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter. | | `expiresAt` | *string* | :heavy_check_mark: | The date and time when the short link will expire in ISO-8601 format. | | `expiredUrl` | *string* | :heavy_check_mark: | The URL to redirect to when the short link has expired. | | `password` | *string* | :heavy_check_mark: | The password required to access the destination URL of the short link. | -| `proxy` | *bool* | :heavy_check_mark: | Whether the short link uses Custom Social Media Cards feature. | | `title` | *string* | :heavy_check_mark: | The title of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. | | `description` | *string* | :heavy_check_mark: | The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. | | `image` | *string* | :heavy_check_mark: | The image of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. | | `video` | *string* | :heavy_check_mark: | The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | -| `rewrite` | *bool* | :heavy_check_mark: | Whether the short link uses link cloaking. | -| `doIndex` | *bool* | :heavy_check_mark: | Whether to allow search engines to index the short link. | | `ios` | *string* | :heavy_check_mark: | The iOS destination URL for the short link for iOS device targeting. | | `android` | *string* | :heavy_check_mark: | The Android destination URL for the short link for Android device targeting. | | `geo` | [Components\Geo](../../Models/Components/Geo.md) | :heavy_check_mark: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://d.to/geo | -| `publicStats` | *bool* | :heavy_check_mark: | Whether the short link's stats are publicly accessible. | | ~~`tagId`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tags` instead. | | `tags` | array<[Components\TagSchema](../../Models/Components/TagSchema.md)> | :heavy_check_mark: | The tags assigned to the short link. | | `comments` | *string* | :heavy_check_mark: | The comments for the short link. | -| `shortLink` | *string* | :heavy_check_mark: | The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`). | -| `qrCode` | *string* | :heavy_check_mark: | The full URL of the QR code for the short link (e.g. `https://api.dub.co/qr?url=https://dub.sh/try`). | | `utmSource` | *string* | :heavy_check_mark: | The UTM source of the short link. | | `utmMedium` | *string* | :heavy_check_mark: | The UTM medium of the short link. | | `utmCampaign` | *string* | :heavy_check_mark: | The UTM campaign of the short link. | | `utmTerm` | *string* | :heavy_check_mark: | The UTM term of the short link. | | `utmContent` | *string* | :heavy_check_mark: | The UTM content of the short link. | -| `userId` | *string* | :heavy_check_mark: | The user ID of the creator of the short link. | -| `workspaceId` | *string* | :heavy_check_mark: | The workspace ID of the short link. | -| `clicks` | *float* | :heavy_check_mark: | The number of clicks on the short link. | -| `lastClicked` | *string* | :heavy_check_mark: | The date and time when the short link was last clicked. | -| `leads` | *float* | :heavy_check_mark: | [BETA]: The number of leads the short links has generated. | -| `sales` | *float* | :heavy_check_mark: | [BETA]: The number of sales the short links has generated. | -| `saleAmount` | *float* | :heavy_check_mark: | [BETA]: The total dollar amount of sales the short links has generated (in cents). | -| `createdAt` | *string* | :heavy_check_mark: | The date and time when the short link was created. | -| `updatedAt` | *string* | :heavy_check_mark: | The date and time when the short link was last updated. | -| ~~`projectId`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The project ID of the short link. This field is deprecated – use `workspaceId` instead. | \ No newline at end of file +| `lastClicked` | *string* | :heavy_check_mark: | The date and time when the short link was last clicked. | \ No newline at end of file diff --git a/docs/Models/Components/WorkspaceSchema.md b/docs/Models/Components/WorkspaceSchema.md index 33a5b48..08b60a4 100644 --- a/docs/Models/Components/WorkspaceSchema.md +++ b/docs/Models/Components/WorkspaceSchema.md @@ -8,12 +8,8 @@ | `id` | *string* | :heavy_check_mark: | The unique ID of the workspace. | | `name` | *string* | :heavy_check_mark: | The name of the workspace. | | `slug` | *string* | :heavy_check_mark: | The slug of the workspace. | -| `logo` | *string* | :heavy_check_mark: | The logo of the workspace. | | `plan` | [Components\Plan](../../Models/Components/Plan.md) | :heavy_check_mark: | The plan of the workspace. | -| `stripeId` | *string* | :heavy_check_mark: | The Stripe ID of the workspace. | | `billingCycleStart` | *float* | :heavy_check_mark: | The date and time when the billing cycle starts for the workspace. | -| `stripeConnectId` | *string* | :heavy_check_mark: | [BETA]: The Stripe Connect ID of the workspace. | -| `inviteCode` | *string* | :heavy_check_mark: | The invite code of the workspace. | | `usage` | *float* | :heavy_check_mark: | The usage of the workspace. | | `usageLimit` | *float* | :heavy_check_mark: | The usage limit of the workspace. | | `linksUsage` | *float* | :heavy_check_mark: | The links usage of the workspace. | @@ -25,9 +21,13 @@ | `usersLimit` | *float* | :heavy_check_mark: | The users limit of the workspace. | | `aiUsage` | *float* | :heavy_check_mark: | The AI usage of the workspace. | | `aiLimit` | *float* | :heavy_check_mark: | The AI limit of the workspace. | -| `referralLinkId` | *string* | :heavy_check_mark: | The ID of the referral link of the workspace. | | `conversionEnabled` | *bool* | :heavy_check_mark: | Whether the workspace has conversion tracking enabled (d.to/conversions). | | `createdAt` | *string* | :heavy_check_mark: | The date and time when the workspace was created. | | `users` | array<[Components\Users](../../Models/Components/Users.md)> | :heavy_check_mark: | The role of the authenticated user in the workspace. | | `domains` | array<[Components\Domains](../../Models/Components/Domains.md)> | :heavy_check_mark: | The domains of the workspace. | +| `logo` | *string* | :heavy_check_mark: | The logo of the workspace. | +| `stripeId` | *string* | :heavy_check_mark: | The Stripe ID of the workspace. | +| `stripeConnectId` | *string* | :heavy_check_mark: | [BETA]: The Stripe Connect ID of the workspace. | +| `inviteCode` | *string* | :heavy_check_mark: | The invite code of the workspace. | +| `referralLinkId` | *string* | :heavy_check_mark: | The ID of the referral link of the workspace. | | `flags` | array | :heavy_minus_sign: | The feature flags of the workspace, indicating which features are enabled. | \ No newline at end of file diff --git a/docs/Models/Operations/CreateDomainRequestBody.md b/docs/Models/Operations/CreateDomainRequestBody.md index 544f1f6..c2d85f8 100644 --- a/docs/Models/Operations/CreateDomainRequestBody.md +++ b/docs/Models/Operations/CreateDomainRequestBody.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | | `slug` | *string* | :heavy_check_mark: | Name of the domain. | acme.com | -| `expiredUrl` | *?string* | :heavy_minus_sign: | Redirect users to a specific URL when any link under this domain has expired. | https://acme.com/expired | | `archived` | *?bool* | :heavy_minus_sign: | Whether to archive this domain. `false` will unarchive a previously archived domain. | false | +| `expiredUrl` | *?string* | :heavy_minus_sign: | Redirect users to a specific URL when any link under this domain has expired. | https://acme.com/expired | | `placeholder` | *?string* | :heavy_minus_sign: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub | \ No newline at end of file diff --git a/docs/Models/Operations/CreateLinkRequestBody.md b/docs/Models/Operations/CreateLinkRequestBody.md index 33f22aa..9963621 100644 --- a/docs/Models/Operations/CreateLinkRequestBody.md +++ b/docs/Models/Operations/CreateLinkRequestBody.md @@ -8,28 +8,28 @@ | `url` | *string* | :heavy_check_mark: | The destination URL of the short link. | https://google.com | | `domain` | *?string* | :heavy_minus_sign: | The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains). | | | `key` | *?string* | :heavy_minus_sign: | The short link slug. If not provided, a random 7-character slug will be generated. | | -| `externalId` | *?string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | | `prefix` | *?string* | :heavy_minus_sign: | The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided. | | | `trackConversion` | *?bool* | :heavy_minus_sign: | Whether to track conversions for the short link. | | | `archived` | *?bool* | :heavy_minus_sign: | Whether the short link is archived. | | | `publicStats` | *?bool* | :heavy_minus_sign: | Whether the short link's stats are publicly accessible. | | -| ~~`tagId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `tagIds` | [string\|array\|null](../../Models/Operations/TagIds.md) | :heavy_minus_sign: | The unique IDs of the tags assigned to the short link. | [
"clux0rgak00011..."
] | | `tagNames` | [string\|array\|null](../../Models/Operations/TagNames.md) | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | +| `proxy` | *?bool* | :heavy_minus_sign: | Whether the short link uses Custom Social Media Cards feature. | | +| `rewrite` | *?bool* | :heavy_minus_sign: | Whether the short link uses link cloaking. | | +| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | +| `externalId` | *?string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | +| ~~`tagId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `comments` | *?string* | :heavy_minus_sign: | The comments for the short link. | | | `expiresAt` | *?string* | :heavy_minus_sign: | The date and time when the short link will expire at. | | | `expiredUrl` | *?string* | :heavy_minus_sign: | The URL to redirect to when the short link has expired. | | | `password` | *?string* | :heavy_minus_sign: | The password required to access the destination URL of the short link. | | -| `proxy` | *?bool* | :heavy_minus_sign: | Whether the short link uses Custom Social Media Cards feature. | | | `title` | *?string* | :heavy_minus_sign: | The custom link preview title (og:title). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `description` | *?string* | :heavy_minus_sign: | The custom link preview description (og:description). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `image` | *?string* | :heavy_minus_sign: | The custom link preview image (og:image). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `video` | *?string* | :heavy_minus_sign: | The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | -| `rewrite` | *?bool* | :heavy_minus_sign: | Whether the short link uses link cloaking. | | | `ios` | *?string* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | | | `android` | *?string* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | | | `geo` | [?Components\LinkGeoTargeting](../../Models/Components/LinkGeoTargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | | -| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | | `utmSource` | *?string* | :heavy_minus_sign: | The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. | | | `utmMedium` | *?string* | :heavy_minus_sign: | The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. | | | `utmCampaign` | *?string* | :heavy_minus_sign: | The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. | | diff --git a/docs/Models/Operations/Data.md b/docs/Models/Operations/Data.md index 98986a5..0edc18e 100644 --- a/docs/Models/Operations/Data.md +++ b/docs/Models/Operations/Data.md @@ -9,23 +9,23 @@ | `trackConversion` | *?bool* | :heavy_minus_sign: | Whether to track conversions for the short link. | | | `archived` | *?bool* | :heavy_minus_sign: | Whether the short link is archived. | | | `publicStats` | *?bool* | :heavy_minus_sign: | Whether the short link's stats are publicly accessible. | | -| ~~`tagId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `tagIds` | [string\|array\|null](../../Models/Operations/BulkUpdateLinksTagIds.md) | :heavy_minus_sign: | The unique IDs of the tags assigned to the short link. | [
"clux0rgak00011..."
] | | `tagNames` | [string\|array\|null](../../Models/Operations/BulkUpdateLinksTagNames.md) | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | +| `proxy` | *?bool* | :heavy_minus_sign: | Whether the short link uses Custom Social Media Cards feature. | | +| `rewrite` | *?bool* | :heavy_minus_sign: | Whether the short link uses link cloaking. | | +| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | +| ~~`tagId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `comments` | *?string* | :heavy_minus_sign: | The comments for the short link. | | | `expiresAt` | *?string* | :heavy_minus_sign: | The date and time when the short link will expire at. | | | `expiredUrl` | *?string* | :heavy_minus_sign: | The URL to redirect to when the short link has expired. | | | `password` | *?string* | :heavy_minus_sign: | The password required to access the destination URL of the short link. | | -| `proxy` | *?bool* | :heavy_minus_sign: | Whether the short link uses Custom Social Media Cards feature. | | | `title` | *?string* | :heavy_minus_sign: | The custom link preview title (og:title). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `description` | *?string* | :heavy_minus_sign: | The custom link preview description (og:description). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `image` | *?string* | :heavy_minus_sign: | The custom link preview image (og:image). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `video` | *?string* | :heavy_minus_sign: | The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | -| `rewrite` | *?bool* | :heavy_minus_sign: | Whether the short link uses link cloaking. | | | `ios` | *?string* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | | | `android` | *?string* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | | | `geo` | [?Components\LinkGeoTargeting](../../Models/Components/LinkGeoTargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | | -| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | | `utmSource` | *?string* | :heavy_minus_sign: | The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. | | | `utmMedium` | *?string* | :heavy_minus_sign: | The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. | | | `utmCampaign` | *?string* | :heavy_minus_sign: | The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. | | diff --git a/docs/Models/Operations/RequestBody.md b/docs/Models/Operations/RequestBody.md index e382e3c..08fa7d5 100644 --- a/docs/Models/Operations/RequestBody.md +++ b/docs/Models/Operations/RequestBody.md @@ -8,28 +8,28 @@ | `url` | *string* | :heavy_check_mark: | The destination URL of the short link. | https://google.com | | `domain` | *?string* | :heavy_minus_sign: | The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains). | | | `key` | *?string* | :heavy_minus_sign: | The short link slug. If not provided, a random 7-character slug will be generated. | | -| `externalId` | *?string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | | `prefix` | *?string* | :heavy_minus_sign: | The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided. | | | `trackConversion` | *?bool* | :heavy_minus_sign: | Whether to track conversions for the short link. | | | `archived` | *?bool* | :heavy_minus_sign: | Whether the short link is archived. | | | `publicStats` | *?bool* | :heavy_minus_sign: | Whether the short link's stats are publicly accessible. | | -| ~~`tagId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `tagIds` | [string\|array\|null](../../Models/Operations/BulkCreateLinksTagIds.md) | :heavy_minus_sign: | The unique IDs of the tags assigned to the short link. | [
"clux0rgak00011..."
] | | `tagNames` | [string\|array\|null](../../Models/Operations/BulkCreateLinksTagNames.md) | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | +| `proxy` | *?bool* | :heavy_minus_sign: | Whether the short link uses Custom Social Media Cards feature. | | +| `rewrite` | *?bool* | :heavy_minus_sign: | Whether the short link uses link cloaking. | | +| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | +| `externalId` | *?string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | +| ~~`tagId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `comments` | *?string* | :heavy_minus_sign: | The comments for the short link. | | | `expiresAt` | *?string* | :heavy_minus_sign: | The date and time when the short link will expire at. | | | `expiredUrl` | *?string* | :heavy_minus_sign: | The URL to redirect to when the short link has expired. | | | `password` | *?string* | :heavy_minus_sign: | The password required to access the destination URL of the short link. | | -| `proxy` | *?bool* | :heavy_minus_sign: | Whether the short link uses Custom Social Media Cards feature. | | | `title` | *?string* | :heavy_minus_sign: | The custom link preview title (og:title). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `description` | *?string* | :heavy_minus_sign: | The custom link preview description (og:description). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `image` | *?string* | :heavy_minus_sign: | The custom link preview image (og:image). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `video` | *?string* | :heavy_minus_sign: | The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | -| `rewrite` | *?bool* | :heavy_minus_sign: | Whether the short link uses link cloaking. | | | `ios` | *?string* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | | | `android` | *?string* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | | | `geo` | [?Components\LinkGeoTargeting](../../Models/Components/LinkGeoTargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | | -| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | | `utmSource` | *?string* | :heavy_minus_sign: | The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. | | | `utmMedium` | *?string* | :heavy_minus_sign: | The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. | | | `utmCampaign` | *?string* | :heavy_minus_sign: | The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. | | diff --git a/docs/Models/Operations/TrackSaleRequestBody.md b/docs/Models/Operations/TrackSaleRequestBody.md index 5ddc225..fa1757b 100644 --- a/docs/Models/Operations/TrackSaleRequestBody.md +++ b/docs/Models/Operations/TrackSaleRequestBody.md @@ -9,6 +9,6 @@ | `amount` | *int* | :heavy_check_mark: | The amount of the sale. Should be passed in cents. | | | `paymentProcessor` | [Operations\PaymentProcessor](../../Models/Operations/PaymentProcessor.md) | :heavy_check_mark: | The payment processor via which the sale was made. | | | `eventName` | *?string* | :heavy_minus_sign: | The name of the sale event. It can be used to track different types of event for example 'Purchase', 'Upgrade', 'Payment', etc. | Purchase | -| `invoiceId` | *?string* | :heavy_minus_sign: | The invoice ID of the sale. | | | `currency` | *?string* | :heavy_minus_sign: | The currency of the sale. Accepts ISO 4217 currency codes. | | +| `invoiceId` | *?string* | :heavy_minus_sign: | The invoice ID of the sale. | | | `metadata` | array | :heavy_minus_sign: | Additional metadata to be stored with the sale event. | | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateDomainRequestBody.md b/docs/Models/Operations/UpdateDomainRequestBody.md index a93ec53..ba43fee 100644 --- a/docs/Models/Operations/UpdateDomainRequestBody.md +++ b/docs/Models/Operations/UpdateDomainRequestBody.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | | `slug` | *?string* | :heavy_minus_sign: | Name of the domain. | acme.com | -| `expiredUrl` | *?string* | :heavy_minus_sign: | Redirect users to a specific URL when any link under this domain has expired. | https://acme.com/expired | | `archived` | *?bool* | :heavy_minus_sign: | Whether to archive this domain. `false` will unarchive a previously archived domain. | false | +| `expiredUrl` | *?string* | :heavy_minus_sign: | Redirect users to a specific URL when any link under this domain has expired. | https://acme.com/expired | | `placeholder` | *?string* | :heavy_minus_sign: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub | \ No newline at end of file diff --git a/docs/Models/Operations/UpdateLinkRequestBody.md b/docs/Models/Operations/UpdateLinkRequestBody.md index 8df02f9..8ac745e 100644 --- a/docs/Models/Operations/UpdateLinkRequestBody.md +++ b/docs/Models/Operations/UpdateLinkRequestBody.md @@ -8,28 +8,28 @@ | `url` | *?string* | :heavy_minus_sign: | The destination URL of the short link. | https://google.com | | `domain` | *?string* | :heavy_minus_sign: | The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains). | | | `key` | *?string* | :heavy_minus_sign: | The short link slug. If not provided, a random 7-character slug will be generated. | | -| `externalId` | *?string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | | `prefix` | *?string* | :heavy_minus_sign: | The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided. | | | `trackConversion` | *?bool* | :heavy_minus_sign: | Whether to track conversions for the short link. | | | `archived` | *?bool* | :heavy_minus_sign: | Whether the short link is archived. | | | `publicStats` | *?bool* | :heavy_minus_sign: | Whether the short link's stats are publicly accessible. | | -| ~~`tagId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `tagIds` | [string\|array\|null](../../Models/Operations/UpdateLinkTagIds.md) | :heavy_minus_sign: | The unique IDs of the tags assigned to the short link. | [
"clux0rgak00011..."
] | | `tagNames` | [string\|array\|null](../../Models/Operations/UpdateLinkTagNames.md) | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | +| `proxy` | *?bool* | :heavy_minus_sign: | Whether the short link uses Custom Social Media Cards feature. | | +| `rewrite` | *?bool* | :heavy_minus_sign: | Whether the short link uses link cloaking. | | +| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | +| `externalId` | *?string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | +| ~~`tagId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `comments` | *?string* | :heavy_minus_sign: | The comments for the short link. | | | `expiresAt` | *?string* | :heavy_minus_sign: | The date and time when the short link will expire at. | | | `expiredUrl` | *?string* | :heavy_minus_sign: | The URL to redirect to when the short link has expired. | | | `password` | *?string* | :heavy_minus_sign: | The password required to access the destination URL of the short link. | | -| `proxy` | *?bool* | :heavy_minus_sign: | Whether the short link uses Custom Social Media Cards feature. | | | `title` | *?string* | :heavy_minus_sign: | The custom link preview title (og:title). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `description` | *?string* | :heavy_minus_sign: | The custom link preview description (og:description). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `image` | *?string* | :heavy_minus_sign: | The custom link preview image (og:image). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `video` | *?string* | :heavy_minus_sign: | The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | -| `rewrite` | *?bool* | :heavy_minus_sign: | Whether the short link uses link cloaking. | | | `ios` | *?string* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | | | `android` | *?string* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | | | `geo` | [?Components\LinkGeoTargeting](../../Models/Components/LinkGeoTargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | | -| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | | `utmSource` | *?string* | :heavy_minus_sign: | The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. | | | `utmMedium` | *?string* | :heavy_minus_sign: | The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. | | | `utmCampaign` | *?string* | :heavy_minus_sign: | The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. | | diff --git a/docs/Models/Operations/UpsertLinkRequestBody.md b/docs/Models/Operations/UpsertLinkRequestBody.md index aedfbd0..c90725c 100644 --- a/docs/Models/Operations/UpsertLinkRequestBody.md +++ b/docs/Models/Operations/UpsertLinkRequestBody.md @@ -8,28 +8,28 @@ | `url` | *string* | :heavy_check_mark: | The destination URL of the short link. | https://google.com | | `domain` | *?string* | :heavy_minus_sign: | The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains). | | | `key` | *?string* | :heavy_minus_sign: | The short link slug. If not provided, a random 7-character slug will be generated. | | -| `externalId` | *?string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | | `prefix` | *?string* | :heavy_minus_sign: | The prefix of the short link slug for randomly-generated keys (e.g. if prefix is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if `key` is provided. | | | `trackConversion` | *?bool* | :heavy_minus_sign: | Whether to track conversions for the short link. | | | `archived` | *?bool* | :heavy_minus_sign: | Whether the short link is archived. | | | `publicStats` | *?bool* | :heavy_minus_sign: | Whether the short link's stats are publicly accessible. | | -| ~~`tagId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `tagIds` | [string\|array\|null](../../Models/Operations/UpsertLinkTagIds.md) | :heavy_minus_sign: | The unique IDs of the tags assigned to the short link. | [
"clux0rgak00011..."
] | | `tagNames` | [string\|array\|null](../../Models/Operations/UpsertLinkTagNames.md) | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | +| `proxy` | *?bool* | :heavy_minus_sign: | Whether the short link uses Custom Social Media Cards feature. | | +| `rewrite` | *?bool* | :heavy_minus_sign: | Whether the short link uses link cloaking. | | +| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | +| `externalId` | *?string* | :heavy_minus_sign: | This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter. | 123456 | +| ~~`tagId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `comments` | *?string* | :heavy_minus_sign: | The comments for the short link. | | | `expiresAt` | *?string* | :heavy_minus_sign: | The date and time when the short link will expire at. | | | `expiredUrl` | *?string* | :heavy_minus_sign: | The URL to redirect to when the short link has expired. | | | `password` | *?string* | :heavy_minus_sign: | The password required to access the destination URL of the short link. | | -| `proxy` | *?bool* | :heavy_minus_sign: | Whether the short link uses Custom Social Media Cards feature. | | | `title` | *?string* | :heavy_minus_sign: | The custom link preview title (og:title). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `description` | *?string* | :heavy_minus_sign: | The custom link preview description (og:description). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `image` | *?string* | :heavy_minus_sign: | The custom link preview image (og:image). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | | `video` | *?string* | :heavy_minus_sign: | The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og | | -| `rewrite` | *?bool* | :heavy_minus_sign: | Whether the short link uses link cloaking. | | | `ios` | *?string* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | | | `android` | *?string* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | | | `geo` | [?Components\LinkGeoTargeting](../../Models/Components/LinkGeoTargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | | -| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | | `utmSource` | *?string* | :heavy_minus_sign: | The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. | | | `utmMedium` | *?string* | :heavy_minus_sign: | The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. | | | `utmCampaign` | *?string* | :heavy_minus_sign: | The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. | | diff --git a/docs/sdks/domains/README.md b/docs/sdks/domains/README.md index 464c3ba..c4d6ffa 100644 --- a/docs/sdks/domains/README.md +++ b/docs/sdks/domains/README.md @@ -92,8 +92,8 @@ $sdk = Dub\Dub::builder()->setSecurity($security)->build(); try { $request = new Operations\CreateDomainRequestBody( slug: 'acme.com', - expiredUrl: 'https://acme.com/expired', archived: false, + expiredUrl: 'https://acme.com/expired', placeholder: 'https://dub.co/help/article/what-is-dub', ); $response = $sdk->domains->create($request); @@ -212,8 +212,8 @@ $sdk = Dub\Dub::builder()->setSecurity($security)->build(); try { $requestBody = new Operations\UpdateDomainRequestBody( slug: 'acme.com', - expiredUrl: 'https://acme.com/expired', archived: false, + expiredUrl: 'https://acme.com/expired', placeholder: 'https://dub.co/help/article/what-is-dub', ); $response = $sdk->domains->update('acme.com', $requestBody); diff --git a/docs/sdks/links/README.md b/docs/sdks/links/README.md index c5ad5e3..8ca2377 100644 --- a/docs/sdks/links/README.md +++ b/docs/sdks/links/README.md @@ -112,26 +112,27 @@ try { url: 'https://google.com', domain: 'lighthearted-kilogram.name', key: '', - externalId: '123456', prefix: '', trackConversion: false, archived: false, publicStats: false, - tagId: '', tagIds: [ '', ], tagNames: '', + proxy: false, + rewrite: false, + doIndex: false, + externalId: '123456', + tagId: '', comments: '', expiresAt: '', expiredUrl: '', password: 'klDuL1dlrnUXohO', - proxy: false, title: '', description: 'User-friendly multi-state frame', image: 'https://loremflickr.com/640/480', video: '', - rewrite: false, ios: '', android: '', geo: new Components\LinkGeoTargeting( @@ -386,7 +387,6 @@ try { ss: '', xk: '', ), - doIndex: false, utmSource: '', utmMedium: '', utmCampaign: '', @@ -643,24 +643,25 @@ try { url: 'https://google.com', domain: 'tidy-amazon.name', key: '', - externalId: '123456', prefix: '', trackConversion: false, archived: false, publicStats: false, - tagId: '', tagIds: '["clux0rgak00011..."]', tagNames: '', + proxy: false, + rewrite: false, + doIndex: false, + externalId: '123456', + tagId: '', comments: '', expiresAt: '', expiredUrl: '', password: 'daOKvPKDk8CkuAM', - proxy: false, title: '', description: 'Mandatory real-time migration', image: 'https://loremflickr.com/640/480', video: '', - rewrite: false, ios: '', android: '', geo: new Components\LinkGeoTargeting( @@ -915,7 +916,6 @@ try { ss: '', xk: '', ), - doIndex: false, utmSource: '', utmMedium: '', utmCampaign: '', @@ -1108,19 +1108,20 @@ try { trackConversion: false, archived: false, publicStats: false, - tagId: '', tagIds: '["clux0rgak00011..."]', tagNames: '', + proxy: false, + rewrite: false, + doIndex: false, + tagId: '', comments: '', expiresAt: '', expiredUrl: '', password: 'WDSvXDvs2q1hzWy', - proxy: false, title: '', description: 'Diverse holistic internet solution', image: 'https://loremflickr.com/640/480', video: '', - rewrite: false, ios: '', android: '', geo: new Components\LinkGeoTargeting( @@ -1375,7 +1376,6 @@ try { ss: '', xk: '', ), - doIndex: false, utmSource: '', utmMedium: '', utmCampaign: '', @@ -1444,26 +1444,27 @@ try { url: 'https://google.com', domain: 'monthly-hometown.info', key: '', - externalId: '123456', prefix: '', trackConversion: false, archived: false, publicStats: false, - tagId: '', tagIds: [ '', ], tagNames: '', + proxy: false, + rewrite: false, + doIndex: false, + externalId: '123456', + tagId: '', comments: '', expiresAt: '', expiredUrl: '', password: 'Ng7iwZDcrQrPcHB', - proxy: false, title: '', description: 'Organic asynchronous firmware', image: 'https://loremflickr.com/640/480', video: '', - rewrite: false, ios: '', android: '', geo: new Components\LinkGeoTargeting( @@ -1718,7 +1719,6 @@ try { ss: '', xk: '', ), - doIndex: false, utmSource: '', utmMedium: '', utmCampaign: '', diff --git a/docs/sdks/track/README.md b/docs/sdks/track/README.md index fa622c3..efe6303 100644 --- a/docs/sdks/track/README.md +++ b/docs/sdks/track/README.md @@ -102,8 +102,8 @@ try { amount: 996500, paymentProcessor: Operations\PaymentProcessor::Shopify, eventName: 'Purchase', - invoiceId: '', currency: 'European Unit of Account 17(E.U.A.-17)', + invoiceId: '', metadata: [ 'Stage' => '', ], diff --git a/src/Analytics.php b/src/Analytics.php index 2b0e6d5..a9e008d 100644 --- a/src/Analytics.php +++ b/src/Analytics.php @@ -14,7 +14,6 @@ class Analytics { private SDKConfiguration $sdkConfiguration; - /** * @param SDKConfiguration $sdkConfig */ @@ -140,4 +139,5 @@ public function retrieve( throw new \Dub\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); } } + } \ No newline at end of file diff --git a/src/Domains.php b/src/Domains.php index 096a1e1..d7f069c 100644 --- a/src/Domains.php +++ b/src/Domains.php @@ -14,7 +14,6 @@ class Domains { private SDKConfiguration $sdkConfiguration; - /** * @param SDKConfiguration $sdkConfig */ @@ -520,4 +519,5 @@ public function update( throw new \Dub\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); } } + } \ No newline at end of file diff --git a/src/Events.php b/src/Events.php index 0068750..95e2617 100644 --- a/src/Events.php +++ b/src/Events.php @@ -14,7 +14,6 @@ class Events { private SDKConfiguration $sdkConfiguration; - /** * @param SDKConfiguration $sdkConfig */ @@ -140,4 +139,5 @@ public function list( throw new \Dub\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); } } + } \ No newline at end of file diff --git a/src/Links.php b/src/Links.php index e5a694d..7cd0c44 100644 --- a/src/Links.php +++ b/src/Links.php @@ -14,7 +14,6 @@ class Links { private SDKConfiguration $sdkConfiguration; - /** * @param SDKConfiguration $sdkConfig */ @@ -1240,4 +1239,5 @@ public function upsert( throw new \Dub\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); } } + } \ No newline at end of file diff --git a/src/Metatags.php b/src/Metatags.php index 9f6ad56..ad33e97 100644 --- a/src/Metatags.php +++ b/src/Metatags.php @@ -14,7 +14,6 @@ class Metatags { private SDKConfiguration $sdkConfiguration; - /** * @param SDKConfiguration $sdkConfig */ @@ -71,4 +70,5 @@ public function get( throw new \Dub\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); } } + } \ No newline at end of file diff --git a/src/Models/Components/AnalyticsBrowsers.php b/src/Models/Components/AnalyticsBrowsers.php index ccf57f8..9e2823a 100644 --- a/src/Models/Components/AnalyticsBrowsers.php +++ b/src/Models/Components/AnalyticsBrowsers.php @@ -52,13 +52,13 @@ class AnalyticsBrowsers public float $saleAmount; /** - * @param ?string $browser - * @param ?float $clicks - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount + * @param string $browser + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount */ - public function __construct(?string $browser = null, ?float $clicks = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null) + public function __construct(string $browser, float $clicks, float $leads, float $sales, float $saleAmount) { $this->browser = $browser; $this->clicks = $clicks; diff --git a/src/Models/Components/AnalyticsCities.php b/src/Models/Components/AnalyticsCities.php index 7714da7..9adf8f1 100644 --- a/src/Models/Components/AnalyticsCities.php +++ b/src/Models/Components/AnalyticsCities.php @@ -61,14 +61,14 @@ class AnalyticsCities public float $saleAmount; /** - * @param ?string $city - * @param ?AnalyticsCitiesCountry $country - * @param ?float $clicks - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount + * @param string $city + * @param AnalyticsCitiesCountry $country + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount */ - public function __construct(?string $city = null, ?AnalyticsCitiesCountry $country = null, ?float $clicks = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null) + public function __construct(string $city, AnalyticsCitiesCountry $country, float $clicks, float $leads, float $sales, float $saleAmount) { $this->city = $city; $this->country = $country; diff --git a/src/Models/Components/AnalyticsCount.php b/src/Models/Components/AnalyticsCount.php index bf796fd..a93a19b 100644 --- a/src/Models/Components/AnalyticsCount.php +++ b/src/Models/Components/AnalyticsCount.php @@ -44,12 +44,12 @@ class AnalyticsCount public float $saleAmount; /** - * @param ?float $clicks - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount */ - public function __construct(?float $clicks = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null) + public function __construct(float $clicks, float $leads, float $sales, float $saleAmount) { $this->clicks = $clicks; $this->leads = $leads; diff --git a/src/Models/Components/AnalyticsCountries.php b/src/Models/Components/AnalyticsCountries.php index 4ebecd3..cf284b2 100644 --- a/src/Models/Components/AnalyticsCountries.php +++ b/src/Models/Components/AnalyticsCountries.php @@ -61,14 +61,14 @@ class AnalyticsCountries public float $saleAmount; /** - * @param ?Country $country - * @param ?City $city - * @param ?float $clicks - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount + * @param Country $country + * @param City $city + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount */ - public function __construct(?Country $country = null, ?City $city = null, ?float $clicks = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null) + public function __construct(Country $country, City $city, float $clicks, float $leads, float $sales, float $saleAmount) { $this->country = $country; $this->city = $city; diff --git a/src/Models/Components/AnalyticsDevices.php b/src/Models/Components/AnalyticsDevices.php index ed1f147..3e71e25 100644 --- a/src/Models/Components/AnalyticsDevices.php +++ b/src/Models/Components/AnalyticsDevices.php @@ -52,13 +52,13 @@ class AnalyticsDevices public float $saleAmount; /** - * @param ?string $device - * @param ?float $clicks - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount + * @param string $device + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount */ - public function __construct(?string $device = null, ?float $clicks = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null) + public function __construct(string $device, float $clicks, float $leads, float $sales, float $saleAmount) { $this->device = $device; $this->clicks = $clicks; diff --git a/src/Models/Components/AnalyticsOS.php b/src/Models/Components/AnalyticsOS.php index 45dbe86..a12e3eb 100644 --- a/src/Models/Components/AnalyticsOS.php +++ b/src/Models/Components/AnalyticsOS.php @@ -52,13 +52,13 @@ class AnalyticsOS public float $saleAmount; /** - * @param ?string $os - * @param ?float $clicks - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount + * @param string $os + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount */ - public function __construct(?string $os = null, ?float $clicks = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null) + public function __construct(string $os, float $clicks, float $leads, float $sales, float $saleAmount) { $this->os = $os; $this->clicks = $clicks; diff --git a/src/Models/Components/AnalyticsReferers.php b/src/Models/Components/AnalyticsReferers.php index 24a7483..21fefca 100644 --- a/src/Models/Components/AnalyticsReferers.php +++ b/src/Models/Components/AnalyticsReferers.php @@ -52,13 +52,13 @@ class AnalyticsReferers public float $saleAmount; /** - * @param ?string $referer - * @param ?float $clicks - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount + * @param string $referer + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount */ - public function __construct(?string $referer = null, ?float $clicks = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null) + public function __construct(string $referer, float $clicks, float $leads, float $sales, float $saleAmount) { $this->referer = $referer; $this->clicks = $clicks; diff --git a/src/Models/Components/AnalyticsTimeseries.php b/src/Models/Components/AnalyticsTimeseries.php index 882dd7d..21fc7bc 100644 --- a/src/Models/Components/AnalyticsTimeseries.php +++ b/src/Models/Components/AnalyticsTimeseries.php @@ -52,13 +52,13 @@ class AnalyticsTimeseries public float $saleAmount; /** - * @param ?string $start - * @param ?float $clicks - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount + * @param string $start + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount */ - public function __construct(?string $start = null, ?float $clicks = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null) + public function __construct(string $start, float $clicks, float $leads, float $sales, float $saleAmount) { $this->start = $start; $this->clicks = $clicks; diff --git a/src/Models/Components/AnalyticsTopLinks.php b/src/Models/Components/AnalyticsTopLinks.php index feb003c..830eb12 100644 --- a/src/Models/Components/AnalyticsTopLinks.php +++ b/src/Models/Components/AnalyticsTopLinks.php @@ -101,19 +101,19 @@ class AnalyticsTopLinks public float $saleAmount; /** - * @param ?string $link - * @param ?string $id - * @param ?string $domain - * @param ?string $key - * @param ?string $shortLink - * @param ?string $url - * @param ?string $createdAt - * @param ?float $clicks - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount + * @param string $link + * @param string $id + * @param string $domain + * @param string $key + * @param string $shortLink + * @param string $url + * @param string $createdAt + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount */ - public function __construct(?string $link = null, ?string $id = null, ?string $domain = null, ?string $key = null, ?string $shortLink = null, ?string $url = null, ?string $createdAt = null, ?float $clicks = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null) + public function __construct(string $link, string $id, string $domain, string $key, string $shortLink, string $url, string $createdAt, float $clicks, float $leads, float $sales, float $saleAmount) { $this->link = $link; $this->id = $id; diff --git a/src/Models/Components/AnalyticsTopUrls.php b/src/Models/Components/AnalyticsTopUrls.php index b215e48..863d31d 100644 --- a/src/Models/Components/AnalyticsTopUrls.php +++ b/src/Models/Components/AnalyticsTopUrls.php @@ -52,13 +52,13 @@ class AnalyticsTopUrls public float $saleAmount; /** - * @param ?string $url - * @param ?float $clicks - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount + * @param string $url + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount */ - public function __construct(?string $url = null, ?float $clicks = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null) + public function __construct(string $url, float $clicks, float $leads, float $sales, float $saleAmount) { $this->url = $url; $this->clicks = $clicks; diff --git a/src/Models/Components/Click.php b/src/Models/Components/Click.php index b69d741..388b836 100644 --- a/src/Models/Components/Click.php +++ b/src/Models/Components/Click.php @@ -79,7 +79,7 @@ class Click * @var ?bool $qr */ #[\JMS\Serializer\Annotation\SerializedName('qr')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $qr = null; /** @@ -90,19 +90,19 @@ class Click public string $ip; /** - * @param ?string $id - * @param ?string $url - * @param ?string $continent - * @param ?string $country - * @param ?string $city - * @param ?string $device - * @param ?string $browser - * @param ?string $os - * @param ?string $referer - * @param ?string $ip + * @param string $id + * @param string $url + * @param string $continent + * @param string $country + * @param string $city + * @param string $device + * @param string $browser + * @param string $os + * @param string $referer + * @param string $ip * @param ?bool $qr */ - public function __construct(?string $id = null, ?string $url = null, ?string $continent = null, ?string $country = null, ?string $city = null, ?string $device = null, ?string $browser = null, ?string $os = null, ?string $referer = null, ?string $ip = null, ?bool $qr = null) + public function __construct(string $id, string $url, string $continent, string $country, string $city, string $device, string $browser, string $os, string $referer, string $ip, ?bool $qr = null) { $this->id = $id; $this->url = $url; diff --git a/src/Models/Components/ClickEvent.php b/src/Models/Components/ClickEvent.php index c2200be..62d66f5 100644 --- a/src/Models/Components/ClickEvent.php +++ b/src/Models/Components/ClickEvent.php @@ -24,7 +24,7 @@ class ClickEvent * @var ?string $timestamp */ #[\JMS\Serializer\Annotation\SerializedName('timestamp')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $timestamp = null; /** @@ -161,25 +161,25 @@ class ClickEvent public string $ip; /** - * @param ?Event $event - * @param ?Click $click - * @param ?Link $link - * @param ?string $clickId - * @param ?string $linkId - * @param ?string $domain - * @param ?string $key - * @param ?string $url - * @param ?string $continent - * @param ?string $country - * @param ?string $city - * @param ?string $device - * @param ?string $browser - * @param ?string $os - * @param ?float $qr - * @param ?string $ip + * @param Event $event + * @param Click $click + * @param Link $link + * @param string $clickId + * @param string $linkId + * @param string $domain + * @param string $key + * @param string $url + * @param string $continent + * @param string $country + * @param string $city + * @param string $device + * @param string $browser + * @param string $os + * @param float $qr + * @param string $ip * @param ?string $timestamp */ - public function __construct(?Event $event = null, ?Click $click = null, ?Link $link = null, ?string $clickId = null, ?string $linkId = null, ?string $domain = null, ?string $key = null, ?string $url = null, ?string $continent = null, ?string $country = null, ?string $city = null, ?string $device = null, ?string $browser = null, ?string $os = null, ?float $qr = null, ?string $ip = null, ?string $timestamp = null) + public function __construct(Event $event, Click $click, Link $link, string $clickId, string $linkId, string $domain, string $key, string $url, string $continent, string $country, string $city, string $device, string $browser, string $os, float $qr, string $ip, ?string $timestamp = null) { $this->event = $event; $this->click = $click; diff --git a/src/Models/Components/ClickEventGeo.php b/src/Models/Components/ClickEventGeo.php index 2c07955..ab7c3bc 100644 --- a/src/Models/Components/ClickEventGeo.php +++ b/src/Models/Components/ClickEventGeo.php @@ -17,7 +17,7 @@ class ClickEventGeo * @var ?string $af */ #[\JMS\Serializer\Annotation\SerializedName('AF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $af = null; /** @@ -25,7 +25,7 @@ class ClickEventGeo * @var ?string $al */ #[\JMS\Serializer\Annotation\SerializedName('AL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $al = null; /** @@ -33,7 +33,7 @@ class ClickEventGeo * @var ?string $dz */ #[\JMS\Serializer\Annotation\SerializedName('DZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dz = null; /** @@ -41,7 +41,7 @@ class ClickEventGeo * @var ?string $as */ #[\JMS\Serializer\Annotation\SerializedName('AS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $as = null; /** @@ -49,7 +49,7 @@ class ClickEventGeo * @var ?string $ad */ #[\JMS\Serializer\Annotation\SerializedName('AD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ad = null; /** @@ -57,7 +57,7 @@ class ClickEventGeo * @var ?string $ao */ #[\JMS\Serializer\Annotation\SerializedName('AO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ao = null; /** @@ -65,7 +65,7 @@ class ClickEventGeo * @var ?string $ai */ #[\JMS\Serializer\Annotation\SerializedName('AI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ai = null; /** @@ -73,7 +73,7 @@ class ClickEventGeo * @var ?string $aq */ #[\JMS\Serializer\Annotation\SerializedName('AQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $aq = null; /** @@ -81,7 +81,7 @@ class ClickEventGeo * @var ?string $ag */ #[\JMS\Serializer\Annotation\SerializedName('AG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ag = null; /** @@ -89,7 +89,7 @@ class ClickEventGeo * @var ?string $ar */ #[\JMS\Serializer\Annotation\SerializedName('AR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ar = null; /** @@ -97,7 +97,7 @@ class ClickEventGeo * @var ?string $am */ #[\JMS\Serializer\Annotation\SerializedName('AM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $am = null; /** @@ -105,7 +105,7 @@ class ClickEventGeo * @var ?string $aw */ #[\JMS\Serializer\Annotation\SerializedName('AW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $aw = null; /** @@ -113,7 +113,7 @@ class ClickEventGeo * @var ?string $au */ #[\JMS\Serializer\Annotation\SerializedName('AU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $au = null; /** @@ -121,7 +121,7 @@ class ClickEventGeo * @var ?string $at */ #[\JMS\Serializer\Annotation\SerializedName('AT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $at = null; /** @@ -129,7 +129,7 @@ class ClickEventGeo * @var ?string $az */ #[\JMS\Serializer\Annotation\SerializedName('AZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $az = null; /** @@ -137,7 +137,7 @@ class ClickEventGeo * @var ?string $bs */ #[\JMS\Serializer\Annotation\SerializedName('BS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bs = null; /** @@ -145,7 +145,7 @@ class ClickEventGeo * @var ?string $bh */ #[\JMS\Serializer\Annotation\SerializedName('BH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bh = null; /** @@ -153,7 +153,7 @@ class ClickEventGeo * @var ?string $bd */ #[\JMS\Serializer\Annotation\SerializedName('BD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bd = null; /** @@ -161,7 +161,7 @@ class ClickEventGeo * @var ?string $bb */ #[\JMS\Serializer\Annotation\SerializedName('BB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bb = null; /** @@ -169,7 +169,7 @@ class ClickEventGeo * @var ?string $by */ #[\JMS\Serializer\Annotation\SerializedName('BY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $by = null; /** @@ -177,7 +177,7 @@ class ClickEventGeo * @var ?string $be */ #[\JMS\Serializer\Annotation\SerializedName('BE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $be = null; /** @@ -185,7 +185,7 @@ class ClickEventGeo * @var ?string $bz */ #[\JMS\Serializer\Annotation\SerializedName('BZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bz = null; /** @@ -193,7 +193,7 @@ class ClickEventGeo * @var ?string $bj */ #[\JMS\Serializer\Annotation\SerializedName('BJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bj = null; /** @@ -201,7 +201,7 @@ class ClickEventGeo * @var ?string $bm */ #[\JMS\Serializer\Annotation\SerializedName('BM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bm = null; /** @@ -209,7 +209,7 @@ class ClickEventGeo * @var ?string $bt */ #[\JMS\Serializer\Annotation\SerializedName('BT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bt = null; /** @@ -217,7 +217,7 @@ class ClickEventGeo * @var ?string $bo */ #[\JMS\Serializer\Annotation\SerializedName('BO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bo = null; /** @@ -225,7 +225,7 @@ class ClickEventGeo * @var ?string $ba */ #[\JMS\Serializer\Annotation\SerializedName('BA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ba = null; /** @@ -233,7 +233,7 @@ class ClickEventGeo * @var ?string $bw */ #[\JMS\Serializer\Annotation\SerializedName('BW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bw = null; /** @@ -241,7 +241,7 @@ class ClickEventGeo * @var ?string $bv */ #[\JMS\Serializer\Annotation\SerializedName('BV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bv = null; /** @@ -249,7 +249,7 @@ class ClickEventGeo * @var ?string $br */ #[\JMS\Serializer\Annotation\SerializedName('BR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $br = null; /** @@ -257,7 +257,7 @@ class ClickEventGeo * @var ?string $io */ #[\JMS\Serializer\Annotation\SerializedName('IO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $io = null; /** @@ -265,7 +265,7 @@ class ClickEventGeo * @var ?string $bn */ #[\JMS\Serializer\Annotation\SerializedName('BN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bn = null; /** @@ -273,7 +273,7 @@ class ClickEventGeo * @var ?string $bg */ #[\JMS\Serializer\Annotation\SerializedName('BG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bg = null; /** @@ -281,7 +281,7 @@ class ClickEventGeo * @var ?string $bf */ #[\JMS\Serializer\Annotation\SerializedName('BF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bf = null; /** @@ -289,7 +289,7 @@ class ClickEventGeo * @var ?string $bi */ #[\JMS\Serializer\Annotation\SerializedName('BI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bi = null; /** @@ -297,7 +297,7 @@ class ClickEventGeo * @var ?string $kh */ #[\JMS\Serializer\Annotation\SerializedName('KH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kh = null; /** @@ -305,7 +305,7 @@ class ClickEventGeo * @var ?string $cm */ #[\JMS\Serializer\Annotation\SerializedName('CM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cm = null; /** @@ -313,7 +313,7 @@ class ClickEventGeo * @var ?string $ca */ #[\JMS\Serializer\Annotation\SerializedName('CA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ca = null; /** @@ -321,7 +321,7 @@ class ClickEventGeo * @var ?string $cv */ #[\JMS\Serializer\Annotation\SerializedName('CV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cv = null; /** @@ -329,7 +329,7 @@ class ClickEventGeo * @var ?string $ky */ #[\JMS\Serializer\Annotation\SerializedName('KY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ky = null; /** @@ -337,7 +337,7 @@ class ClickEventGeo * @var ?string $cf */ #[\JMS\Serializer\Annotation\SerializedName('CF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cf = null; /** @@ -345,7 +345,7 @@ class ClickEventGeo * @var ?string $td */ #[\JMS\Serializer\Annotation\SerializedName('TD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $td = null; /** @@ -353,7 +353,7 @@ class ClickEventGeo * @var ?string $cl */ #[\JMS\Serializer\Annotation\SerializedName('CL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cl = null; /** @@ -361,7 +361,7 @@ class ClickEventGeo * @var ?string $cn */ #[\JMS\Serializer\Annotation\SerializedName('CN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cn = null; /** @@ -369,7 +369,7 @@ class ClickEventGeo * @var ?string $cx */ #[\JMS\Serializer\Annotation\SerializedName('CX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cx = null; /** @@ -377,7 +377,7 @@ class ClickEventGeo * @var ?string $cc */ #[\JMS\Serializer\Annotation\SerializedName('CC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cc = null; /** @@ -385,7 +385,7 @@ class ClickEventGeo * @var ?string $co */ #[\JMS\Serializer\Annotation\SerializedName('CO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $co = null; /** @@ -393,7 +393,7 @@ class ClickEventGeo * @var ?string $km */ #[\JMS\Serializer\Annotation\SerializedName('KM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $km = null; /** @@ -401,7 +401,7 @@ class ClickEventGeo * @var ?string $cg */ #[\JMS\Serializer\Annotation\SerializedName('CG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cg = null; /** @@ -409,7 +409,7 @@ class ClickEventGeo * @var ?string $cd */ #[\JMS\Serializer\Annotation\SerializedName('CD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cd = null; /** @@ -417,7 +417,7 @@ class ClickEventGeo * @var ?string $ck */ #[\JMS\Serializer\Annotation\SerializedName('CK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ck = null; /** @@ -425,7 +425,7 @@ class ClickEventGeo * @var ?string $cr */ #[\JMS\Serializer\Annotation\SerializedName('CR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cr = null; /** @@ -433,7 +433,7 @@ class ClickEventGeo * @var ?string $ci */ #[\JMS\Serializer\Annotation\SerializedName('CI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ci = null; /** @@ -441,7 +441,7 @@ class ClickEventGeo * @var ?string $hr */ #[\JMS\Serializer\Annotation\SerializedName('HR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hr = null; /** @@ -449,7 +449,7 @@ class ClickEventGeo * @var ?string $cu */ #[\JMS\Serializer\Annotation\SerializedName('CU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cu = null; /** @@ -457,7 +457,7 @@ class ClickEventGeo * @var ?string $cy */ #[\JMS\Serializer\Annotation\SerializedName('CY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cy = null; /** @@ -465,7 +465,7 @@ class ClickEventGeo * @var ?string $cz */ #[\JMS\Serializer\Annotation\SerializedName('CZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cz = null; /** @@ -473,7 +473,7 @@ class ClickEventGeo * @var ?string $dk */ #[\JMS\Serializer\Annotation\SerializedName('DK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dk = null; /** @@ -481,7 +481,7 @@ class ClickEventGeo * @var ?string $dj */ #[\JMS\Serializer\Annotation\SerializedName('DJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dj = null; /** @@ -489,7 +489,7 @@ class ClickEventGeo * @var ?string $dm */ #[\JMS\Serializer\Annotation\SerializedName('DM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dm = null; /** @@ -497,7 +497,7 @@ class ClickEventGeo * @var ?string $do */ #[\JMS\Serializer\Annotation\SerializedName('DO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $do = null; /** @@ -505,7 +505,7 @@ class ClickEventGeo * @var ?string $ec */ #[\JMS\Serializer\Annotation\SerializedName('EC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ec = null; /** @@ -513,7 +513,7 @@ class ClickEventGeo * @var ?string $eg */ #[\JMS\Serializer\Annotation\SerializedName('EG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $eg = null; /** @@ -521,7 +521,7 @@ class ClickEventGeo * @var ?string $sv */ #[\JMS\Serializer\Annotation\SerializedName('SV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sv = null; /** @@ -529,7 +529,7 @@ class ClickEventGeo * @var ?string $gq */ #[\JMS\Serializer\Annotation\SerializedName('GQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gq = null; /** @@ -537,7 +537,7 @@ class ClickEventGeo * @var ?string $er */ #[\JMS\Serializer\Annotation\SerializedName('ER')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $er = null; /** @@ -545,7 +545,7 @@ class ClickEventGeo * @var ?string $ee */ #[\JMS\Serializer\Annotation\SerializedName('EE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ee = null; /** @@ -553,7 +553,7 @@ class ClickEventGeo * @var ?string $et */ #[\JMS\Serializer\Annotation\SerializedName('ET')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $et = null; /** @@ -561,7 +561,7 @@ class ClickEventGeo * @var ?string $fk */ #[\JMS\Serializer\Annotation\SerializedName('FK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fk = null; /** @@ -569,7 +569,7 @@ class ClickEventGeo * @var ?string $fo */ #[\JMS\Serializer\Annotation\SerializedName('FO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fo = null; /** @@ -577,7 +577,7 @@ class ClickEventGeo * @var ?string $fj */ #[\JMS\Serializer\Annotation\SerializedName('FJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fj = null; /** @@ -585,7 +585,7 @@ class ClickEventGeo * @var ?string $fi */ #[\JMS\Serializer\Annotation\SerializedName('FI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fi = null; /** @@ -593,7 +593,7 @@ class ClickEventGeo * @var ?string $fr */ #[\JMS\Serializer\Annotation\SerializedName('FR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fr = null; /** @@ -601,7 +601,7 @@ class ClickEventGeo * @var ?string $gf */ #[\JMS\Serializer\Annotation\SerializedName('GF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gf = null; /** @@ -609,7 +609,7 @@ class ClickEventGeo * @var ?string $pf */ #[\JMS\Serializer\Annotation\SerializedName('PF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pf = null; /** @@ -617,7 +617,7 @@ class ClickEventGeo * @var ?string $tf */ #[\JMS\Serializer\Annotation\SerializedName('TF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tf = null; /** @@ -625,7 +625,7 @@ class ClickEventGeo * @var ?string $ga */ #[\JMS\Serializer\Annotation\SerializedName('GA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ga = null; /** @@ -633,7 +633,7 @@ class ClickEventGeo * @var ?string $gm */ #[\JMS\Serializer\Annotation\SerializedName('GM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gm = null; /** @@ -641,7 +641,7 @@ class ClickEventGeo * @var ?string $ge */ #[\JMS\Serializer\Annotation\SerializedName('GE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ge = null; /** @@ -649,7 +649,7 @@ class ClickEventGeo * @var ?string $de */ #[\JMS\Serializer\Annotation\SerializedName('DE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $de = null; /** @@ -657,7 +657,7 @@ class ClickEventGeo * @var ?string $gh */ #[\JMS\Serializer\Annotation\SerializedName('GH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gh = null; /** @@ -665,7 +665,7 @@ class ClickEventGeo * @var ?string $gi */ #[\JMS\Serializer\Annotation\SerializedName('GI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gi = null; /** @@ -673,7 +673,7 @@ class ClickEventGeo * @var ?string $gr */ #[\JMS\Serializer\Annotation\SerializedName('GR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gr = null; /** @@ -681,7 +681,7 @@ class ClickEventGeo * @var ?string $gl */ #[\JMS\Serializer\Annotation\SerializedName('GL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gl = null; /** @@ -689,7 +689,7 @@ class ClickEventGeo * @var ?string $gd */ #[\JMS\Serializer\Annotation\SerializedName('GD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gd = null; /** @@ -697,7 +697,7 @@ class ClickEventGeo * @var ?string $gp */ #[\JMS\Serializer\Annotation\SerializedName('GP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gp = null; /** @@ -705,7 +705,7 @@ class ClickEventGeo * @var ?string $gu */ #[\JMS\Serializer\Annotation\SerializedName('GU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gu = null; /** @@ -713,7 +713,7 @@ class ClickEventGeo * @var ?string $gt */ #[\JMS\Serializer\Annotation\SerializedName('GT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gt = null; /** @@ -721,7 +721,7 @@ class ClickEventGeo * @var ?string $gn */ #[\JMS\Serializer\Annotation\SerializedName('GN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gn = null; /** @@ -729,7 +729,7 @@ class ClickEventGeo * @var ?string $gw */ #[\JMS\Serializer\Annotation\SerializedName('GW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gw = null; /** @@ -737,7 +737,7 @@ class ClickEventGeo * @var ?string $gy */ #[\JMS\Serializer\Annotation\SerializedName('GY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gy = null; /** @@ -745,7 +745,7 @@ class ClickEventGeo * @var ?string $ht */ #[\JMS\Serializer\Annotation\SerializedName('HT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ht = null; /** @@ -753,7 +753,7 @@ class ClickEventGeo * @var ?string $hm */ #[\JMS\Serializer\Annotation\SerializedName('HM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hm = null; /** @@ -761,7 +761,7 @@ class ClickEventGeo * @var ?string $va */ #[\JMS\Serializer\Annotation\SerializedName('VA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $va = null; /** @@ -769,7 +769,7 @@ class ClickEventGeo * @var ?string $hn */ #[\JMS\Serializer\Annotation\SerializedName('HN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hn = null; /** @@ -777,7 +777,7 @@ class ClickEventGeo * @var ?string $hk */ #[\JMS\Serializer\Annotation\SerializedName('HK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hk = null; /** @@ -785,7 +785,7 @@ class ClickEventGeo * @var ?string $hu */ #[\JMS\Serializer\Annotation\SerializedName('HU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hu = null; /** @@ -793,7 +793,7 @@ class ClickEventGeo * @var ?string $is */ #[\JMS\Serializer\Annotation\SerializedName('IS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $is = null; /** @@ -801,7 +801,7 @@ class ClickEventGeo * @var ?string $in */ #[\JMS\Serializer\Annotation\SerializedName('IN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $in = null; /** @@ -809,7 +809,7 @@ class ClickEventGeo * @var ?string $id */ #[\JMS\Serializer\Annotation\SerializedName('ID')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $id = null; /** @@ -817,7 +817,7 @@ class ClickEventGeo * @var ?string $ir */ #[\JMS\Serializer\Annotation\SerializedName('IR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ir = null; /** @@ -825,7 +825,7 @@ class ClickEventGeo * @var ?string $iq */ #[\JMS\Serializer\Annotation\SerializedName('IQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $iq = null; /** @@ -833,7 +833,7 @@ class ClickEventGeo * @var ?string $ie */ #[\JMS\Serializer\Annotation\SerializedName('IE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ie = null; /** @@ -841,7 +841,7 @@ class ClickEventGeo * @var ?string $il */ #[\JMS\Serializer\Annotation\SerializedName('IL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $il = null; /** @@ -849,7 +849,7 @@ class ClickEventGeo * @var ?string $it */ #[\JMS\Serializer\Annotation\SerializedName('IT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $it = null; /** @@ -857,7 +857,7 @@ class ClickEventGeo * @var ?string $jm */ #[\JMS\Serializer\Annotation\SerializedName('JM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $jm = null; /** @@ -865,7 +865,7 @@ class ClickEventGeo * @var ?string $jp */ #[\JMS\Serializer\Annotation\SerializedName('JP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $jp = null; /** @@ -873,7 +873,7 @@ class ClickEventGeo * @var ?string $jo */ #[\JMS\Serializer\Annotation\SerializedName('JO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $jo = null; /** @@ -881,7 +881,7 @@ class ClickEventGeo * @var ?string $kz */ #[\JMS\Serializer\Annotation\SerializedName('KZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kz = null; /** @@ -889,7 +889,7 @@ class ClickEventGeo * @var ?string $ke */ #[\JMS\Serializer\Annotation\SerializedName('KE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ke = null; /** @@ -897,7 +897,7 @@ class ClickEventGeo * @var ?string $ki */ #[\JMS\Serializer\Annotation\SerializedName('KI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ki = null; /** @@ -905,7 +905,7 @@ class ClickEventGeo * @var ?string $kp */ #[\JMS\Serializer\Annotation\SerializedName('KP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kp = null; /** @@ -913,7 +913,7 @@ class ClickEventGeo * @var ?string $kr */ #[\JMS\Serializer\Annotation\SerializedName('KR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kr = null; /** @@ -921,7 +921,7 @@ class ClickEventGeo * @var ?string $kw */ #[\JMS\Serializer\Annotation\SerializedName('KW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kw = null; /** @@ -929,7 +929,7 @@ class ClickEventGeo * @var ?string $kg */ #[\JMS\Serializer\Annotation\SerializedName('KG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kg = null; /** @@ -937,7 +937,7 @@ class ClickEventGeo * @var ?string $la */ #[\JMS\Serializer\Annotation\SerializedName('LA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $la = null; /** @@ -945,7 +945,7 @@ class ClickEventGeo * @var ?string $lv */ #[\JMS\Serializer\Annotation\SerializedName('LV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lv = null; /** @@ -953,7 +953,7 @@ class ClickEventGeo * @var ?string $lb */ #[\JMS\Serializer\Annotation\SerializedName('LB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lb = null; /** @@ -961,7 +961,7 @@ class ClickEventGeo * @var ?string $ls */ #[\JMS\Serializer\Annotation\SerializedName('LS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ls = null; /** @@ -969,7 +969,7 @@ class ClickEventGeo * @var ?string $lr */ #[\JMS\Serializer\Annotation\SerializedName('LR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lr = null; /** @@ -977,7 +977,7 @@ class ClickEventGeo * @var ?string $ly */ #[\JMS\Serializer\Annotation\SerializedName('LY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ly = null; /** @@ -985,7 +985,7 @@ class ClickEventGeo * @var ?string $li */ #[\JMS\Serializer\Annotation\SerializedName('LI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $li = null; /** @@ -993,7 +993,7 @@ class ClickEventGeo * @var ?string $lt */ #[\JMS\Serializer\Annotation\SerializedName('LT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lt = null; /** @@ -1001,7 +1001,7 @@ class ClickEventGeo * @var ?string $lu */ #[\JMS\Serializer\Annotation\SerializedName('LU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lu = null; /** @@ -1009,7 +1009,7 @@ class ClickEventGeo * @var ?string $mo */ #[\JMS\Serializer\Annotation\SerializedName('MO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mo = null; /** @@ -1017,7 +1017,7 @@ class ClickEventGeo * @var ?string $mg */ #[\JMS\Serializer\Annotation\SerializedName('MG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mg = null; /** @@ -1025,7 +1025,7 @@ class ClickEventGeo * @var ?string $mw */ #[\JMS\Serializer\Annotation\SerializedName('MW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mw = null; /** @@ -1033,7 +1033,7 @@ class ClickEventGeo * @var ?string $my */ #[\JMS\Serializer\Annotation\SerializedName('MY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $my = null; /** @@ -1041,7 +1041,7 @@ class ClickEventGeo * @var ?string $mv */ #[\JMS\Serializer\Annotation\SerializedName('MV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mv = null; /** @@ -1049,7 +1049,7 @@ class ClickEventGeo * @var ?string $ml */ #[\JMS\Serializer\Annotation\SerializedName('ML')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ml = null; /** @@ -1057,7 +1057,7 @@ class ClickEventGeo * @var ?string $mt */ #[\JMS\Serializer\Annotation\SerializedName('MT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mt = null; /** @@ -1065,7 +1065,7 @@ class ClickEventGeo * @var ?string $mh */ #[\JMS\Serializer\Annotation\SerializedName('MH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mh = null; /** @@ -1073,7 +1073,7 @@ class ClickEventGeo * @var ?string $mq */ #[\JMS\Serializer\Annotation\SerializedName('MQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mq = null; /** @@ -1081,7 +1081,7 @@ class ClickEventGeo * @var ?string $mr */ #[\JMS\Serializer\Annotation\SerializedName('MR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mr = null; /** @@ -1089,7 +1089,7 @@ class ClickEventGeo * @var ?string $mu */ #[\JMS\Serializer\Annotation\SerializedName('MU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mu = null; /** @@ -1097,7 +1097,7 @@ class ClickEventGeo * @var ?string $yt */ #[\JMS\Serializer\Annotation\SerializedName('YT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $yt = null; /** @@ -1105,7 +1105,7 @@ class ClickEventGeo * @var ?string $mx */ #[\JMS\Serializer\Annotation\SerializedName('MX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mx = null; /** @@ -1113,7 +1113,7 @@ class ClickEventGeo * @var ?string $fm */ #[\JMS\Serializer\Annotation\SerializedName('FM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fm = null; /** @@ -1121,7 +1121,7 @@ class ClickEventGeo * @var ?string $md */ #[\JMS\Serializer\Annotation\SerializedName('MD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $md = null; /** @@ -1129,7 +1129,7 @@ class ClickEventGeo * @var ?string $mc */ #[\JMS\Serializer\Annotation\SerializedName('MC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mc = null; /** @@ -1137,7 +1137,7 @@ class ClickEventGeo * @var ?string $mn */ #[\JMS\Serializer\Annotation\SerializedName('MN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mn = null; /** @@ -1145,7 +1145,7 @@ class ClickEventGeo * @var ?string $ms */ #[\JMS\Serializer\Annotation\SerializedName('MS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ms = null; /** @@ -1153,7 +1153,7 @@ class ClickEventGeo * @var ?string $ma */ #[\JMS\Serializer\Annotation\SerializedName('MA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ma = null; /** @@ -1161,7 +1161,7 @@ class ClickEventGeo * @var ?string $mz */ #[\JMS\Serializer\Annotation\SerializedName('MZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mz = null; /** @@ -1169,7 +1169,7 @@ class ClickEventGeo * @var ?string $mm */ #[\JMS\Serializer\Annotation\SerializedName('MM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mm = null; /** @@ -1177,7 +1177,7 @@ class ClickEventGeo * @var ?string $na */ #[\JMS\Serializer\Annotation\SerializedName('NA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $na = null; /** @@ -1185,7 +1185,7 @@ class ClickEventGeo * @var ?string $nr */ #[\JMS\Serializer\Annotation\SerializedName('NR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nr = null; /** @@ -1193,7 +1193,7 @@ class ClickEventGeo * @var ?string $np */ #[\JMS\Serializer\Annotation\SerializedName('NP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $np = null; /** @@ -1201,7 +1201,7 @@ class ClickEventGeo * @var ?string $nl */ #[\JMS\Serializer\Annotation\SerializedName('NL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nl = null; /** @@ -1209,7 +1209,7 @@ class ClickEventGeo * @var ?string $nc */ #[\JMS\Serializer\Annotation\SerializedName('NC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nc = null; /** @@ -1217,7 +1217,7 @@ class ClickEventGeo * @var ?string $nz */ #[\JMS\Serializer\Annotation\SerializedName('NZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nz = null; /** @@ -1225,7 +1225,7 @@ class ClickEventGeo * @var ?string $ni */ #[\JMS\Serializer\Annotation\SerializedName('NI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ni = null; /** @@ -1233,7 +1233,7 @@ class ClickEventGeo * @var ?string $ne */ #[\JMS\Serializer\Annotation\SerializedName('NE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ne = null; /** @@ -1241,7 +1241,7 @@ class ClickEventGeo * @var ?string $ng */ #[\JMS\Serializer\Annotation\SerializedName('NG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ng = null; /** @@ -1249,7 +1249,7 @@ class ClickEventGeo * @var ?string $nu */ #[\JMS\Serializer\Annotation\SerializedName('NU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nu = null; /** @@ -1257,7 +1257,7 @@ class ClickEventGeo * @var ?string $nf */ #[\JMS\Serializer\Annotation\SerializedName('NF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nf = null; /** @@ -1265,7 +1265,7 @@ class ClickEventGeo * @var ?string $mk */ #[\JMS\Serializer\Annotation\SerializedName('MK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mk = null; /** @@ -1273,7 +1273,7 @@ class ClickEventGeo * @var ?string $mp */ #[\JMS\Serializer\Annotation\SerializedName('MP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mp = null; /** @@ -1281,7 +1281,7 @@ class ClickEventGeo * @var ?string $no */ #[\JMS\Serializer\Annotation\SerializedName('NO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $no = null; /** @@ -1289,7 +1289,7 @@ class ClickEventGeo * @var ?string $om */ #[\JMS\Serializer\Annotation\SerializedName('OM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $om = null; /** @@ -1297,7 +1297,7 @@ class ClickEventGeo * @var ?string $pk */ #[\JMS\Serializer\Annotation\SerializedName('PK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pk = null; /** @@ -1305,7 +1305,7 @@ class ClickEventGeo * @var ?string $pw */ #[\JMS\Serializer\Annotation\SerializedName('PW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pw = null; /** @@ -1313,7 +1313,7 @@ class ClickEventGeo * @var ?string $ps */ #[\JMS\Serializer\Annotation\SerializedName('PS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ps = null; /** @@ -1321,7 +1321,7 @@ class ClickEventGeo * @var ?string $pa */ #[\JMS\Serializer\Annotation\SerializedName('PA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pa = null; /** @@ -1329,7 +1329,7 @@ class ClickEventGeo * @var ?string $pg */ #[\JMS\Serializer\Annotation\SerializedName('PG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pg = null; /** @@ -1337,7 +1337,7 @@ class ClickEventGeo * @var ?string $py */ #[\JMS\Serializer\Annotation\SerializedName('PY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $py = null; /** @@ -1345,7 +1345,7 @@ class ClickEventGeo * @var ?string $pe */ #[\JMS\Serializer\Annotation\SerializedName('PE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pe = null; /** @@ -1353,7 +1353,7 @@ class ClickEventGeo * @var ?string $ph */ #[\JMS\Serializer\Annotation\SerializedName('PH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ph = null; /** @@ -1361,7 +1361,7 @@ class ClickEventGeo * @var ?string $pn */ #[\JMS\Serializer\Annotation\SerializedName('PN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pn = null; /** @@ -1369,7 +1369,7 @@ class ClickEventGeo * @var ?string $pl */ #[\JMS\Serializer\Annotation\SerializedName('PL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pl = null; /** @@ -1377,7 +1377,7 @@ class ClickEventGeo * @var ?string $pt */ #[\JMS\Serializer\Annotation\SerializedName('PT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pt = null; /** @@ -1385,7 +1385,7 @@ class ClickEventGeo * @var ?string $pr */ #[\JMS\Serializer\Annotation\SerializedName('PR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pr = null; /** @@ -1393,7 +1393,7 @@ class ClickEventGeo * @var ?string $qa */ #[\JMS\Serializer\Annotation\SerializedName('QA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $qa = null; /** @@ -1401,7 +1401,7 @@ class ClickEventGeo * @var ?string $re */ #[\JMS\Serializer\Annotation\SerializedName('RE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $re = null; /** @@ -1409,7 +1409,7 @@ class ClickEventGeo * @var ?string $ro */ #[\JMS\Serializer\Annotation\SerializedName('RO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ro = null; /** @@ -1417,7 +1417,7 @@ class ClickEventGeo * @var ?string $ru */ #[\JMS\Serializer\Annotation\SerializedName('RU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ru = null; /** @@ -1425,7 +1425,7 @@ class ClickEventGeo * @var ?string $rw */ #[\JMS\Serializer\Annotation\SerializedName('RW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $rw = null; /** @@ -1433,7 +1433,7 @@ class ClickEventGeo * @var ?string $sh */ #[\JMS\Serializer\Annotation\SerializedName('SH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sh = null; /** @@ -1441,7 +1441,7 @@ class ClickEventGeo * @var ?string $kn */ #[\JMS\Serializer\Annotation\SerializedName('KN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kn = null; /** @@ -1449,7 +1449,7 @@ class ClickEventGeo * @var ?string $lc */ #[\JMS\Serializer\Annotation\SerializedName('LC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lc = null; /** @@ -1457,7 +1457,7 @@ class ClickEventGeo * @var ?string $pm */ #[\JMS\Serializer\Annotation\SerializedName('PM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pm = null; /** @@ -1465,7 +1465,7 @@ class ClickEventGeo * @var ?string $vc */ #[\JMS\Serializer\Annotation\SerializedName('VC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vc = null; /** @@ -1473,7 +1473,7 @@ class ClickEventGeo * @var ?string $ws */ #[\JMS\Serializer\Annotation\SerializedName('WS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ws = null; /** @@ -1481,7 +1481,7 @@ class ClickEventGeo * @var ?string $sm */ #[\JMS\Serializer\Annotation\SerializedName('SM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sm = null; /** @@ -1489,7 +1489,7 @@ class ClickEventGeo * @var ?string $st */ #[\JMS\Serializer\Annotation\SerializedName('ST')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $st = null; /** @@ -1497,7 +1497,7 @@ class ClickEventGeo * @var ?string $sa */ #[\JMS\Serializer\Annotation\SerializedName('SA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sa = null; /** @@ -1505,7 +1505,7 @@ class ClickEventGeo * @var ?string $sn */ #[\JMS\Serializer\Annotation\SerializedName('SN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sn = null; /** @@ -1513,7 +1513,7 @@ class ClickEventGeo * @var ?string $sc */ #[\JMS\Serializer\Annotation\SerializedName('SC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sc = null; /** @@ -1521,7 +1521,7 @@ class ClickEventGeo * @var ?string $sl */ #[\JMS\Serializer\Annotation\SerializedName('SL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sl = null; /** @@ -1529,7 +1529,7 @@ class ClickEventGeo * @var ?string $sg */ #[\JMS\Serializer\Annotation\SerializedName('SG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sg = null; /** @@ -1537,7 +1537,7 @@ class ClickEventGeo * @var ?string $sk */ #[\JMS\Serializer\Annotation\SerializedName('SK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sk = null; /** @@ -1545,7 +1545,7 @@ class ClickEventGeo * @var ?string $si */ #[\JMS\Serializer\Annotation\SerializedName('SI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $si = null; /** @@ -1553,7 +1553,7 @@ class ClickEventGeo * @var ?string $sb */ #[\JMS\Serializer\Annotation\SerializedName('SB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sb = null; /** @@ -1561,7 +1561,7 @@ class ClickEventGeo * @var ?string $so */ #[\JMS\Serializer\Annotation\SerializedName('SO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $so = null; /** @@ -1569,7 +1569,7 @@ class ClickEventGeo * @var ?string $za */ #[\JMS\Serializer\Annotation\SerializedName('ZA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $za = null; /** @@ -1577,7 +1577,7 @@ class ClickEventGeo * @var ?string $gs */ #[\JMS\Serializer\Annotation\SerializedName('GS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gs = null; /** @@ -1585,7 +1585,7 @@ class ClickEventGeo * @var ?string $es */ #[\JMS\Serializer\Annotation\SerializedName('ES')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $es = null; /** @@ -1593,7 +1593,7 @@ class ClickEventGeo * @var ?string $lk */ #[\JMS\Serializer\Annotation\SerializedName('LK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lk = null; /** @@ -1601,7 +1601,7 @@ class ClickEventGeo * @var ?string $sd */ #[\JMS\Serializer\Annotation\SerializedName('SD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sd = null; /** @@ -1609,7 +1609,7 @@ class ClickEventGeo * @var ?string $sr */ #[\JMS\Serializer\Annotation\SerializedName('SR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sr = null; /** @@ -1617,7 +1617,7 @@ class ClickEventGeo * @var ?string $sj */ #[\JMS\Serializer\Annotation\SerializedName('SJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sj = null; /** @@ -1625,7 +1625,7 @@ class ClickEventGeo * @var ?string $sz */ #[\JMS\Serializer\Annotation\SerializedName('SZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sz = null; /** @@ -1633,7 +1633,7 @@ class ClickEventGeo * @var ?string $se */ #[\JMS\Serializer\Annotation\SerializedName('SE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $se = null; /** @@ -1641,7 +1641,7 @@ class ClickEventGeo * @var ?string $ch */ #[\JMS\Serializer\Annotation\SerializedName('CH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ch = null; /** @@ -1649,7 +1649,7 @@ class ClickEventGeo * @var ?string $sy */ #[\JMS\Serializer\Annotation\SerializedName('SY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sy = null; /** @@ -1657,7 +1657,7 @@ class ClickEventGeo * @var ?string $tw */ #[\JMS\Serializer\Annotation\SerializedName('TW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tw = null; /** @@ -1665,7 +1665,7 @@ class ClickEventGeo * @var ?string $tj */ #[\JMS\Serializer\Annotation\SerializedName('TJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tj = null; /** @@ -1673,7 +1673,7 @@ class ClickEventGeo * @var ?string $tz */ #[\JMS\Serializer\Annotation\SerializedName('TZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tz = null; /** @@ -1681,7 +1681,7 @@ class ClickEventGeo * @var ?string $th */ #[\JMS\Serializer\Annotation\SerializedName('TH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $th = null; /** @@ -1689,7 +1689,7 @@ class ClickEventGeo * @var ?string $tl */ #[\JMS\Serializer\Annotation\SerializedName('TL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tl = null; /** @@ -1697,7 +1697,7 @@ class ClickEventGeo * @var ?string $tg */ #[\JMS\Serializer\Annotation\SerializedName('TG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tg = null; /** @@ -1705,7 +1705,7 @@ class ClickEventGeo * @var ?string $tk */ #[\JMS\Serializer\Annotation\SerializedName('TK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tk = null; /** @@ -1713,7 +1713,7 @@ class ClickEventGeo * @var ?string $to */ #[\JMS\Serializer\Annotation\SerializedName('TO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $to = null; /** @@ -1721,7 +1721,7 @@ class ClickEventGeo * @var ?string $tt */ #[\JMS\Serializer\Annotation\SerializedName('TT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tt = null; /** @@ -1729,7 +1729,7 @@ class ClickEventGeo * @var ?string $tn */ #[\JMS\Serializer\Annotation\SerializedName('TN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tn = null; /** @@ -1737,7 +1737,7 @@ class ClickEventGeo * @var ?string $tr */ #[\JMS\Serializer\Annotation\SerializedName('TR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tr = null; /** @@ -1745,7 +1745,7 @@ class ClickEventGeo * @var ?string $tm */ #[\JMS\Serializer\Annotation\SerializedName('TM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tm = null; /** @@ -1753,7 +1753,7 @@ class ClickEventGeo * @var ?string $tc */ #[\JMS\Serializer\Annotation\SerializedName('TC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tc = null; /** @@ -1761,7 +1761,7 @@ class ClickEventGeo * @var ?string $tv */ #[\JMS\Serializer\Annotation\SerializedName('TV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tv = null; /** @@ -1769,7 +1769,7 @@ class ClickEventGeo * @var ?string $ug */ #[\JMS\Serializer\Annotation\SerializedName('UG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ug = null; /** @@ -1777,7 +1777,7 @@ class ClickEventGeo * @var ?string $ua */ #[\JMS\Serializer\Annotation\SerializedName('UA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ua = null; /** @@ -1785,7 +1785,7 @@ class ClickEventGeo * @var ?string $ae */ #[\JMS\Serializer\Annotation\SerializedName('AE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ae = null; /** @@ -1793,7 +1793,7 @@ class ClickEventGeo * @var ?string $gb */ #[\JMS\Serializer\Annotation\SerializedName('GB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gb = null; /** @@ -1801,7 +1801,7 @@ class ClickEventGeo * @var ?string $us */ #[\JMS\Serializer\Annotation\SerializedName('US')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $us = null; /** @@ -1809,7 +1809,7 @@ class ClickEventGeo * @var ?string $um */ #[\JMS\Serializer\Annotation\SerializedName('UM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $um = null; /** @@ -1817,7 +1817,7 @@ class ClickEventGeo * @var ?string $uy */ #[\JMS\Serializer\Annotation\SerializedName('UY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $uy = null; /** @@ -1825,7 +1825,7 @@ class ClickEventGeo * @var ?string $uz */ #[\JMS\Serializer\Annotation\SerializedName('UZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $uz = null; /** @@ -1833,7 +1833,7 @@ class ClickEventGeo * @var ?string $vu */ #[\JMS\Serializer\Annotation\SerializedName('VU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vu = null; /** @@ -1841,7 +1841,7 @@ class ClickEventGeo * @var ?string $ve */ #[\JMS\Serializer\Annotation\SerializedName('VE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ve = null; /** @@ -1849,7 +1849,7 @@ class ClickEventGeo * @var ?string $vn */ #[\JMS\Serializer\Annotation\SerializedName('VN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vn = null; /** @@ -1857,7 +1857,7 @@ class ClickEventGeo * @var ?string $vg */ #[\JMS\Serializer\Annotation\SerializedName('VG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vg = null; /** @@ -1865,7 +1865,7 @@ class ClickEventGeo * @var ?string $vi */ #[\JMS\Serializer\Annotation\SerializedName('VI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vi = null; /** @@ -1873,7 +1873,7 @@ class ClickEventGeo * @var ?string $wf */ #[\JMS\Serializer\Annotation\SerializedName('WF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $wf = null; /** @@ -1881,7 +1881,7 @@ class ClickEventGeo * @var ?string $eh */ #[\JMS\Serializer\Annotation\SerializedName('EH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $eh = null; /** @@ -1889,7 +1889,7 @@ class ClickEventGeo * @var ?string $ye */ #[\JMS\Serializer\Annotation\SerializedName('YE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ye = null; /** @@ -1897,7 +1897,7 @@ class ClickEventGeo * @var ?string $zm */ #[\JMS\Serializer\Annotation\SerializedName('ZM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $zm = null; /** @@ -1905,7 +1905,7 @@ class ClickEventGeo * @var ?string $zw */ #[\JMS\Serializer\Annotation\SerializedName('ZW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $zw = null; /** @@ -1913,7 +1913,7 @@ class ClickEventGeo * @var ?string $ax */ #[\JMS\Serializer\Annotation\SerializedName('AX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ax = null; /** @@ -1921,7 +1921,7 @@ class ClickEventGeo * @var ?string $bq */ #[\JMS\Serializer\Annotation\SerializedName('BQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bq = null; /** @@ -1929,7 +1929,7 @@ class ClickEventGeo * @var ?string $cw */ #[\JMS\Serializer\Annotation\SerializedName('CW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cw = null; /** @@ -1937,7 +1937,7 @@ class ClickEventGeo * @var ?string $gg */ #[\JMS\Serializer\Annotation\SerializedName('GG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gg = null; /** @@ -1945,7 +1945,7 @@ class ClickEventGeo * @var ?string $im */ #[\JMS\Serializer\Annotation\SerializedName('IM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $im = null; /** @@ -1953,7 +1953,7 @@ class ClickEventGeo * @var ?string $je */ #[\JMS\Serializer\Annotation\SerializedName('JE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $je = null; /** @@ -1961,7 +1961,7 @@ class ClickEventGeo * @var ?string $me */ #[\JMS\Serializer\Annotation\SerializedName('ME')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $me = null; /** @@ -1969,7 +1969,7 @@ class ClickEventGeo * @var ?string $bl */ #[\JMS\Serializer\Annotation\SerializedName('BL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bl = null; /** @@ -1977,7 +1977,7 @@ class ClickEventGeo * @var ?string $mf */ #[\JMS\Serializer\Annotation\SerializedName('MF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mf = null; /** @@ -1985,7 +1985,7 @@ class ClickEventGeo * @var ?string $rs */ #[\JMS\Serializer\Annotation\SerializedName('RS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $rs = null; /** @@ -1993,7 +1993,7 @@ class ClickEventGeo * @var ?string $sx */ #[\JMS\Serializer\Annotation\SerializedName('SX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sx = null; /** @@ -2001,7 +2001,7 @@ class ClickEventGeo * @var ?string $ss */ #[\JMS\Serializer\Annotation\SerializedName('SS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ss = null; /** @@ -2009,7 +2009,7 @@ class ClickEventGeo * @var ?string $xk */ #[\JMS\Serializer\Annotation\SerializedName('XK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $xk = null; /** diff --git a/src/Models/Components/DomainSchema.php b/src/Models/Components/DomainSchema.php index 7c870c2..830ca83 100644 --- a/src/Models/Components/DomainSchema.php +++ b/src/Models/Components/DomainSchema.php @@ -62,10 +62,10 @@ class DomainSchema /** * The URL to redirect to when a link under this domain has expired. * - * @var string $expiredUrl + * @var ?string $expiredUrl */ #[\JMS\Serializer\Annotation\SerializedName('expiredUrl')] - public string $expiredUrl; + public ?string $expiredUrl; /** * The date the domain was created. @@ -84,17 +84,17 @@ class DomainSchema public string $updatedAt; /** - * @param ?string $id - * @param ?string $slug - * @param ?bool $verified - * @param ?bool $primary - * @param ?bool $archived - * @param ?string $placeholder + * @param string $id + * @param string $slug + * @param bool $verified + * @param bool $primary + * @param bool $archived + * @param string $placeholder + * @param string $createdAt + * @param string $updatedAt * @param ?string $expiredUrl - * @param ?string $createdAt - * @param ?string $updatedAt */ - public function __construct(?string $id = null, ?string $slug = null, ?bool $verified = null, ?bool $primary = null, ?bool $archived = null, ?string $placeholder = null, ?string $expiredUrl = null, ?string $createdAt = null, ?string $updatedAt = null) + public function __construct(string $id, string $slug, bool $verified, bool $primary, bool $archived, string $placeholder, string $createdAt, string $updatedAt, ?string $expiredUrl = null) { $this->id = $id; $this->slug = $slug; @@ -102,8 +102,8 @@ public function __construct(?string $id = null, ?string $slug = null, ?bool $ver $this->primary = $primary; $this->archived = $archived; $this->placeholder = $placeholder; - $this->expiredUrl = $expiredUrl; $this->createdAt = $createdAt; $this->updatedAt = $updatedAt; + $this->expiredUrl = $expiredUrl; } } \ No newline at end of file diff --git a/src/Models/Components/Domains.php b/src/Models/Components/Domains.php index 407c9d5..247ac28 100644 --- a/src/Models/Components/Domains.php +++ b/src/Models/Components/Domains.php @@ -36,11 +36,11 @@ class Domains public bool $verified; /** - * @param ?string $slug - * @param ?bool $primary - * @param ?bool $verified + * @param string $slug + * @param bool $primary + * @param bool $verified */ - public function __construct(?string $slug = null, ?bool $primary = null, ?bool $verified = null) + public function __construct(string $slug, bool $primary, bool $verified) { $this->slug = $slug; $this->primary = $primary; diff --git a/src/Models/Components/Geo.php b/src/Models/Components/Geo.php index 5c2829d..ebb12cd 100644 --- a/src/Models/Components/Geo.php +++ b/src/Models/Components/Geo.php @@ -17,7 +17,7 @@ class Geo * @var ?string $af */ #[\JMS\Serializer\Annotation\SerializedName('AF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $af = null; /** @@ -25,7 +25,7 @@ class Geo * @var ?string $al */ #[\JMS\Serializer\Annotation\SerializedName('AL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $al = null; /** @@ -33,7 +33,7 @@ class Geo * @var ?string $dz */ #[\JMS\Serializer\Annotation\SerializedName('DZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dz = null; /** @@ -41,7 +41,7 @@ class Geo * @var ?string $as */ #[\JMS\Serializer\Annotation\SerializedName('AS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $as = null; /** @@ -49,7 +49,7 @@ class Geo * @var ?string $ad */ #[\JMS\Serializer\Annotation\SerializedName('AD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ad = null; /** @@ -57,7 +57,7 @@ class Geo * @var ?string $ao */ #[\JMS\Serializer\Annotation\SerializedName('AO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ao = null; /** @@ -65,7 +65,7 @@ class Geo * @var ?string $ai */ #[\JMS\Serializer\Annotation\SerializedName('AI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ai = null; /** @@ -73,7 +73,7 @@ class Geo * @var ?string $aq */ #[\JMS\Serializer\Annotation\SerializedName('AQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $aq = null; /** @@ -81,7 +81,7 @@ class Geo * @var ?string $ag */ #[\JMS\Serializer\Annotation\SerializedName('AG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ag = null; /** @@ -89,7 +89,7 @@ class Geo * @var ?string $ar */ #[\JMS\Serializer\Annotation\SerializedName('AR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ar = null; /** @@ -97,7 +97,7 @@ class Geo * @var ?string $am */ #[\JMS\Serializer\Annotation\SerializedName('AM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $am = null; /** @@ -105,7 +105,7 @@ class Geo * @var ?string $aw */ #[\JMS\Serializer\Annotation\SerializedName('AW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $aw = null; /** @@ -113,7 +113,7 @@ class Geo * @var ?string $au */ #[\JMS\Serializer\Annotation\SerializedName('AU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $au = null; /** @@ -121,7 +121,7 @@ class Geo * @var ?string $at */ #[\JMS\Serializer\Annotation\SerializedName('AT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $at = null; /** @@ -129,7 +129,7 @@ class Geo * @var ?string $az */ #[\JMS\Serializer\Annotation\SerializedName('AZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $az = null; /** @@ -137,7 +137,7 @@ class Geo * @var ?string $bs */ #[\JMS\Serializer\Annotation\SerializedName('BS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bs = null; /** @@ -145,7 +145,7 @@ class Geo * @var ?string $bh */ #[\JMS\Serializer\Annotation\SerializedName('BH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bh = null; /** @@ -153,7 +153,7 @@ class Geo * @var ?string $bd */ #[\JMS\Serializer\Annotation\SerializedName('BD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bd = null; /** @@ -161,7 +161,7 @@ class Geo * @var ?string $bb */ #[\JMS\Serializer\Annotation\SerializedName('BB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bb = null; /** @@ -169,7 +169,7 @@ class Geo * @var ?string $by */ #[\JMS\Serializer\Annotation\SerializedName('BY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $by = null; /** @@ -177,7 +177,7 @@ class Geo * @var ?string $be */ #[\JMS\Serializer\Annotation\SerializedName('BE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $be = null; /** @@ -185,7 +185,7 @@ class Geo * @var ?string $bz */ #[\JMS\Serializer\Annotation\SerializedName('BZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bz = null; /** @@ -193,7 +193,7 @@ class Geo * @var ?string $bj */ #[\JMS\Serializer\Annotation\SerializedName('BJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bj = null; /** @@ -201,7 +201,7 @@ class Geo * @var ?string $bm */ #[\JMS\Serializer\Annotation\SerializedName('BM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bm = null; /** @@ -209,7 +209,7 @@ class Geo * @var ?string $bt */ #[\JMS\Serializer\Annotation\SerializedName('BT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bt = null; /** @@ -217,7 +217,7 @@ class Geo * @var ?string $bo */ #[\JMS\Serializer\Annotation\SerializedName('BO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bo = null; /** @@ -225,7 +225,7 @@ class Geo * @var ?string $ba */ #[\JMS\Serializer\Annotation\SerializedName('BA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ba = null; /** @@ -233,7 +233,7 @@ class Geo * @var ?string $bw */ #[\JMS\Serializer\Annotation\SerializedName('BW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bw = null; /** @@ -241,7 +241,7 @@ class Geo * @var ?string $bv */ #[\JMS\Serializer\Annotation\SerializedName('BV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bv = null; /** @@ -249,7 +249,7 @@ class Geo * @var ?string $br */ #[\JMS\Serializer\Annotation\SerializedName('BR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $br = null; /** @@ -257,7 +257,7 @@ class Geo * @var ?string $io */ #[\JMS\Serializer\Annotation\SerializedName('IO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $io = null; /** @@ -265,7 +265,7 @@ class Geo * @var ?string $bn */ #[\JMS\Serializer\Annotation\SerializedName('BN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bn = null; /** @@ -273,7 +273,7 @@ class Geo * @var ?string $bg */ #[\JMS\Serializer\Annotation\SerializedName('BG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bg = null; /** @@ -281,7 +281,7 @@ class Geo * @var ?string $bf */ #[\JMS\Serializer\Annotation\SerializedName('BF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bf = null; /** @@ -289,7 +289,7 @@ class Geo * @var ?string $bi */ #[\JMS\Serializer\Annotation\SerializedName('BI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bi = null; /** @@ -297,7 +297,7 @@ class Geo * @var ?string $kh */ #[\JMS\Serializer\Annotation\SerializedName('KH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kh = null; /** @@ -305,7 +305,7 @@ class Geo * @var ?string $cm */ #[\JMS\Serializer\Annotation\SerializedName('CM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cm = null; /** @@ -313,7 +313,7 @@ class Geo * @var ?string $ca */ #[\JMS\Serializer\Annotation\SerializedName('CA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ca = null; /** @@ -321,7 +321,7 @@ class Geo * @var ?string $cv */ #[\JMS\Serializer\Annotation\SerializedName('CV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cv = null; /** @@ -329,7 +329,7 @@ class Geo * @var ?string $ky */ #[\JMS\Serializer\Annotation\SerializedName('KY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ky = null; /** @@ -337,7 +337,7 @@ class Geo * @var ?string $cf */ #[\JMS\Serializer\Annotation\SerializedName('CF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cf = null; /** @@ -345,7 +345,7 @@ class Geo * @var ?string $td */ #[\JMS\Serializer\Annotation\SerializedName('TD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $td = null; /** @@ -353,7 +353,7 @@ class Geo * @var ?string $cl */ #[\JMS\Serializer\Annotation\SerializedName('CL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cl = null; /** @@ -361,7 +361,7 @@ class Geo * @var ?string $cn */ #[\JMS\Serializer\Annotation\SerializedName('CN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cn = null; /** @@ -369,7 +369,7 @@ class Geo * @var ?string $cx */ #[\JMS\Serializer\Annotation\SerializedName('CX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cx = null; /** @@ -377,7 +377,7 @@ class Geo * @var ?string $cc */ #[\JMS\Serializer\Annotation\SerializedName('CC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cc = null; /** @@ -385,7 +385,7 @@ class Geo * @var ?string $co */ #[\JMS\Serializer\Annotation\SerializedName('CO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $co = null; /** @@ -393,7 +393,7 @@ class Geo * @var ?string $km */ #[\JMS\Serializer\Annotation\SerializedName('KM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $km = null; /** @@ -401,7 +401,7 @@ class Geo * @var ?string $cg */ #[\JMS\Serializer\Annotation\SerializedName('CG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cg = null; /** @@ -409,7 +409,7 @@ class Geo * @var ?string $cd */ #[\JMS\Serializer\Annotation\SerializedName('CD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cd = null; /** @@ -417,7 +417,7 @@ class Geo * @var ?string $ck */ #[\JMS\Serializer\Annotation\SerializedName('CK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ck = null; /** @@ -425,7 +425,7 @@ class Geo * @var ?string $cr */ #[\JMS\Serializer\Annotation\SerializedName('CR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cr = null; /** @@ -433,7 +433,7 @@ class Geo * @var ?string $ci */ #[\JMS\Serializer\Annotation\SerializedName('CI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ci = null; /** @@ -441,7 +441,7 @@ class Geo * @var ?string $hr */ #[\JMS\Serializer\Annotation\SerializedName('HR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hr = null; /** @@ -449,7 +449,7 @@ class Geo * @var ?string $cu */ #[\JMS\Serializer\Annotation\SerializedName('CU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cu = null; /** @@ -457,7 +457,7 @@ class Geo * @var ?string $cy */ #[\JMS\Serializer\Annotation\SerializedName('CY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cy = null; /** @@ -465,7 +465,7 @@ class Geo * @var ?string $cz */ #[\JMS\Serializer\Annotation\SerializedName('CZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cz = null; /** @@ -473,7 +473,7 @@ class Geo * @var ?string $dk */ #[\JMS\Serializer\Annotation\SerializedName('DK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dk = null; /** @@ -481,7 +481,7 @@ class Geo * @var ?string $dj */ #[\JMS\Serializer\Annotation\SerializedName('DJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dj = null; /** @@ -489,7 +489,7 @@ class Geo * @var ?string $dm */ #[\JMS\Serializer\Annotation\SerializedName('DM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dm = null; /** @@ -497,7 +497,7 @@ class Geo * @var ?string $do */ #[\JMS\Serializer\Annotation\SerializedName('DO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $do = null; /** @@ -505,7 +505,7 @@ class Geo * @var ?string $ec */ #[\JMS\Serializer\Annotation\SerializedName('EC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ec = null; /** @@ -513,7 +513,7 @@ class Geo * @var ?string $eg */ #[\JMS\Serializer\Annotation\SerializedName('EG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $eg = null; /** @@ -521,7 +521,7 @@ class Geo * @var ?string $sv */ #[\JMS\Serializer\Annotation\SerializedName('SV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sv = null; /** @@ -529,7 +529,7 @@ class Geo * @var ?string $gq */ #[\JMS\Serializer\Annotation\SerializedName('GQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gq = null; /** @@ -537,7 +537,7 @@ class Geo * @var ?string $er */ #[\JMS\Serializer\Annotation\SerializedName('ER')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $er = null; /** @@ -545,7 +545,7 @@ class Geo * @var ?string $ee */ #[\JMS\Serializer\Annotation\SerializedName('EE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ee = null; /** @@ -553,7 +553,7 @@ class Geo * @var ?string $et */ #[\JMS\Serializer\Annotation\SerializedName('ET')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $et = null; /** @@ -561,7 +561,7 @@ class Geo * @var ?string $fk */ #[\JMS\Serializer\Annotation\SerializedName('FK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fk = null; /** @@ -569,7 +569,7 @@ class Geo * @var ?string $fo */ #[\JMS\Serializer\Annotation\SerializedName('FO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fo = null; /** @@ -577,7 +577,7 @@ class Geo * @var ?string $fj */ #[\JMS\Serializer\Annotation\SerializedName('FJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fj = null; /** @@ -585,7 +585,7 @@ class Geo * @var ?string $fi */ #[\JMS\Serializer\Annotation\SerializedName('FI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fi = null; /** @@ -593,7 +593,7 @@ class Geo * @var ?string $fr */ #[\JMS\Serializer\Annotation\SerializedName('FR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fr = null; /** @@ -601,7 +601,7 @@ class Geo * @var ?string $gf */ #[\JMS\Serializer\Annotation\SerializedName('GF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gf = null; /** @@ -609,7 +609,7 @@ class Geo * @var ?string $pf */ #[\JMS\Serializer\Annotation\SerializedName('PF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pf = null; /** @@ -617,7 +617,7 @@ class Geo * @var ?string $tf */ #[\JMS\Serializer\Annotation\SerializedName('TF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tf = null; /** @@ -625,7 +625,7 @@ class Geo * @var ?string $ga */ #[\JMS\Serializer\Annotation\SerializedName('GA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ga = null; /** @@ -633,7 +633,7 @@ class Geo * @var ?string $gm */ #[\JMS\Serializer\Annotation\SerializedName('GM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gm = null; /** @@ -641,7 +641,7 @@ class Geo * @var ?string $ge */ #[\JMS\Serializer\Annotation\SerializedName('GE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ge = null; /** @@ -649,7 +649,7 @@ class Geo * @var ?string $de */ #[\JMS\Serializer\Annotation\SerializedName('DE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $de = null; /** @@ -657,7 +657,7 @@ class Geo * @var ?string $gh */ #[\JMS\Serializer\Annotation\SerializedName('GH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gh = null; /** @@ -665,7 +665,7 @@ class Geo * @var ?string $gi */ #[\JMS\Serializer\Annotation\SerializedName('GI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gi = null; /** @@ -673,7 +673,7 @@ class Geo * @var ?string $gr */ #[\JMS\Serializer\Annotation\SerializedName('GR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gr = null; /** @@ -681,7 +681,7 @@ class Geo * @var ?string $gl */ #[\JMS\Serializer\Annotation\SerializedName('GL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gl = null; /** @@ -689,7 +689,7 @@ class Geo * @var ?string $gd */ #[\JMS\Serializer\Annotation\SerializedName('GD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gd = null; /** @@ -697,7 +697,7 @@ class Geo * @var ?string $gp */ #[\JMS\Serializer\Annotation\SerializedName('GP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gp = null; /** @@ -705,7 +705,7 @@ class Geo * @var ?string $gu */ #[\JMS\Serializer\Annotation\SerializedName('GU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gu = null; /** @@ -713,7 +713,7 @@ class Geo * @var ?string $gt */ #[\JMS\Serializer\Annotation\SerializedName('GT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gt = null; /** @@ -721,7 +721,7 @@ class Geo * @var ?string $gn */ #[\JMS\Serializer\Annotation\SerializedName('GN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gn = null; /** @@ -729,7 +729,7 @@ class Geo * @var ?string $gw */ #[\JMS\Serializer\Annotation\SerializedName('GW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gw = null; /** @@ -737,7 +737,7 @@ class Geo * @var ?string $gy */ #[\JMS\Serializer\Annotation\SerializedName('GY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gy = null; /** @@ -745,7 +745,7 @@ class Geo * @var ?string $ht */ #[\JMS\Serializer\Annotation\SerializedName('HT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ht = null; /** @@ -753,7 +753,7 @@ class Geo * @var ?string $hm */ #[\JMS\Serializer\Annotation\SerializedName('HM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hm = null; /** @@ -761,7 +761,7 @@ class Geo * @var ?string $va */ #[\JMS\Serializer\Annotation\SerializedName('VA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $va = null; /** @@ -769,7 +769,7 @@ class Geo * @var ?string $hn */ #[\JMS\Serializer\Annotation\SerializedName('HN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hn = null; /** @@ -777,7 +777,7 @@ class Geo * @var ?string $hk */ #[\JMS\Serializer\Annotation\SerializedName('HK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hk = null; /** @@ -785,7 +785,7 @@ class Geo * @var ?string $hu */ #[\JMS\Serializer\Annotation\SerializedName('HU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hu = null; /** @@ -793,7 +793,7 @@ class Geo * @var ?string $is */ #[\JMS\Serializer\Annotation\SerializedName('IS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $is = null; /** @@ -801,7 +801,7 @@ class Geo * @var ?string $in */ #[\JMS\Serializer\Annotation\SerializedName('IN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $in = null; /** @@ -809,7 +809,7 @@ class Geo * @var ?string $id */ #[\JMS\Serializer\Annotation\SerializedName('ID')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $id = null; /** @@ -817,7 +817,7 @@ class Geo * @var ?string $ir */ #[\JMS\Serializer\Annotation\SerializedName('IR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ir = null; /** @@ -825,7 +825,7 @@ class Geo * @var ?string $iq */ #[\JMS\Serializer\Annotation\SerializedName('IQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $iq = null; /** @@ -833,7 +833,7 @@ class Geo * @var ?string $ie */ #[\JMS\Serializer\Annotation\SerializedName('IE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ie = null; /** @@ -841,7 +841,7 @@ class Geo * @var ?string $il */ #[\JMS\Serializer\Annotation\SerializedName('IL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $il = null; /** @@ -849,7 +849,7 @@ class Geo * @var ?string $it */ #[\JMS\Serializer\Annotation\SerializedName('IT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $it = null; /** @@ -857,7 +857,7 @@ class Geo * @var ?string $jm */ #[\JMS\Serializer\Annotation\SerializedName('JM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $jm = null; /** @@ -865,7 +865,7 @@ class Geo * @var ?string $jp */ #[\JMS\Serializer\Annotation\SerializedName('JP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $jp = null; /** @@ -873,7 +873,7 @@ class Geo * @var ?string $jo */ #[\JMS\Serializer\Annotation\SerializedName('JO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $jo = null; /** @@ -881,7 +881,7 @@ class Geo * @var ?string $kz */ #[\JMS\Serializer\Annotation\SerializedName('KZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kz = null; /** @@ -889,7 +889,7 @@ class Geo * @var ?string $ke */ #[\JMS\Serializer\Annotation\SerializedName('KE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ke = null; /** @@ -897,7 +897,7 @@ class Geo * @var ?string $ki */ #[\JMS\Serializer\Annotation\SerializedName('KI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ki = null; /** @@ -905,7 +905,7 @@ class Geo * @var ?string $kp */ #[\JMS\Serializer\Annotation\SerializedName('KP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kp = null; /** @@ -913,7 +913,7 @@ class Geo * @var ?string $kr */ #[\JMS\Serializer\Annotation\SerializedName('KR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kr = null; /** @@ -921,7 +921,7 @@ class Geo * @var ?string $kw */ #[\JMS\Serializer\Annotation\SerializedName('KW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kw = null; /** @@ -929,7 +929,7 @@ class Geo * @var ?string $kg */ #[\JMS\Serializer\Annotation\SerializedName('KG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kg = null; /** @@ -937,7 +937,7 @@ class Geo * @var ?string $la */ #[\JMS\Serializer\Annotation\SerializedName('LA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $la = null; /** @@ -945,7 +945,7 @@ class Geo * @var ?string $lv */ #[\JMS\Serializer\Annotation\SerializedName('LV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lv = null; /** @@ -953,7 +953,7 @@ class Geo * @var ?string $lb */ #[\JMS\Serializer\Annotation\SerializedName('LB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lb = null; /** @@ -961,7 +961,7 @@ class Geo * @var ?string $ls */ #[\JMS\Serializer\Annotation\SerializedName('LS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ls = null; /** @@ -969,7 +969,7 @@ class Geo * @var ?string $lr */ #[\JMS\Serializer\Annotation\SerializedName('LR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lr = null; /** @@ -977,7 +977,7 @@ class Geo * @var ?string $ly */ #[\JMS\Serializer\Annotation\SerializedName('LY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ly = null; /** @@ -985,7 +985,7 @@ class Geo * @var ?string $li */ #[\JMS\Serializer\Annotation\SerializedName('LI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $li = null; /** @@ -993,7 +993,7 @@ class Geo * @var ?string $lt */ #[\JMS\Serializer\Annotation\SerializedName('LT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lt = null; /** @@ -1001,7 +1001,7 @@ class Geo * @var ?string $lu */ #[\JMS\Serializer\Annotation\SerializedName('LU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lu = null; /** @@ -1009,7 +1009,7 @@ class Geo * @var ?string $mo */ #[\JMS\Serializer\Annotation\SerializedName('MO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mo = null; /** @@ -1017,7 +1017,7 @@ class Geo * @var ?string $mg */ #[\JMS\Serializer\Annotation\SerializedName('MG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mg = null; /** @@ -1025,7 +1025,7 @@ class Geo * @var ?string $mw */ #[\JMS\Serializer\Annotation\SerializedName('MW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mw = null; /** @@ -1033,7 +1033,7 @@ class Geo * @var ?string $my */ #[\JMS\Serializer\Annotation\SerializedName('MY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $my = null; /** @@ -1041,7 +1041,7 @@ class Geo * @var ?string $mv */ #[\JMS\Serializer\Annotation\SerializedName('MV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mv = null; /** @@ -1049,7 +1049,7 @@ class Geo * @var ?string $ml */ #[\JMS\Serializer\Annotation\SerializedName('ML')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ml = null; /** @@ -1057,7 +1057,7 @@ class Geo * @var ?string $mt */ #[\JMS\Serializer\Annotation\SerializedName('MT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mt = null; /** @@ -1065,7 +1065,7 @@ class Geo * @var ?string $mh */ #[\JMS\Serializer\Annotation\SerializedName('MH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mh = null; /** @@ -1073,7 +1073,7 @@ class Geo * @var ?string $mq */ #[\JMS\Serializer\Annotation\SerializedName('MQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mq = null; /** @@ -1081,7 +1081,7 @@ class Geo * @var ?string $mr */ #[\JMS\Serializer\Annotation\SerializedName('MR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mr = null; /** @@ -1089,7 +1089,7 @@ class Geo * @var ?string $mu */ #[\JMS\Serializer\Annotation\SerializedName('MU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mu = null; /** @@ -1097,7 +1097,7 @@ class Geo * @var ?string $yt */ #[\JMS\Serializer\Annotation\SerializedName('YT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $yt = null; /** @@ -1105,7 +1105,7 @@ class Geo * @var ?string $mx */ #[\JMS\Serializer\Annotation\SerializedName('MX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mx = null; /** @@ -1113,7 +1113,7 @@ class Geo * @var ?string $fm */ #[\JMS\Serializer\Annotation\SerializedName('FM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fm = null; /** @@ -1121,7 +1121,7 @@ class Geo * @var ?string $md */ #[\JMS\Serializer\Annotation\SerializedName('MD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $md = null; /** @@ -1129,7 +1129,7 @@ class Geo * @var ?string $mc */ #[\JMS\Serializer\Annotation\SerializedName('MC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mc = null; /** @@ -1137,7 +1137,7 @@ class Geo * @var ?string $mn */ #[\JMS\Serializer\Annotation\SerializedName('MN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mn = null; /** @@ -1145,7 +1145,7 @@ class Geo * @var ?string $ms */ #[\JMS\Serializer\Annotation\SerializedName('MS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ms = null; /** @@ -1153,7 +1153,7 @@ class Geo * @var ?string $ma */ #[\JMS\Serializer\Annotation\SerializedName('MA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ma = null; /** @@ -1161,7 +1161,7 @@ class Geo * @var ?string $mz */ #[\JMS\Serializer\Annotation\SerializedName('MZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mz = null; /** @@ -1169,7 +1169,7 @@ class Geo * @var ?string $mm */ #[\JMS\Serializer\Annotation\SerializedName('MM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mm = null; /** @@ -1177,7 +1177,7 @@ class Geo * @var ?string $na */ #[\JMS\Serializer\Annotation\SerializedName('NA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $na = null; /** @@ -1185,7 +1185,7 @@ class Geo * @var ?string $nr */ #[\JMS\Serializer\Annotation\SerializedName('NR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nr = null; /** @@ -1193,7 +1193,7 @@ class Geo * @var ?string $np */ #[\JMS\Serializer\Annotation\SerializedName('NP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $np = null; /** @@ -1201,7 +1201,7 @@ class Geo * @var ?string $nl */ #[\JMS\Serializer\Annotation\SerializedName('NL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nl = null; /** @@ -1209,7 +1209,7 @@ class Geo * @var ?string $nc */ #[\JMS\Serializer\Annotation\SerializedName('NC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nc = null; /** @@ -1217,7 +1217,7 @@ class Geo * @var ?string $nz */ #[\JMS\Serializer\Annotation\SerializedName('NZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nz = null; /** @@ -1225,7 +1225,7 @@ class Geo * @var ?string $ni */ #[\JMS\Serializer\Annotation\SerializedName('NI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ni = null; /** @@ -1233,7 +1233,7 @@ class Geo * @var ?string $ne */ #[\JMS\Serializer\Annotation\SerializedName('NE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ne = null; /** @@ -1241,7 +1241,7 @@ class Geo * @var ?string $ng */ #[\JMS\Serializer\Annotation\SerializedName('NG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ng = null; /** @@ -1249,7 +1249,7 @@ class Geo * @var ?string $nu */ #[\JMS\Serializer\Annotation\SerializedName('NU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nu = null; /** @@ -1257,7 +1257,7 @@ class Geo * @var ?string $nf */ #[\JMS\Serializer\Annotation\SerializedName('NF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nf = null; /** @@ -1265,7 +1265,7 @@ class Geo * @var ?string $mk */ #[\JMS\Serializer\Annotation\SerializedName('MK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mk = null; /** @@ -1273,7 +1273,7 @@ class Geo * @var ?string $mp */ #[\JMS\Serializer\Annotation\SerializedName('MP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mp = null; /** @@ -1281,7 +1281,7 @@ class Geo * @var ?string $no */ #[\JMS\Serializer\Annotation\SerializedName('NO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $no = null; /** @@ -1289,7 +1289,7 @@ class Geo * @var ?string $om */ #[\JMS\Serializer\Annotation\SerializedName('OM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $om = null; /** @@ -1297,7 +1297,7 @@ class Geo * @var ?string $pk */ #[\JMS\Serializer\Annotation\SerializedName('PK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pk = null; /** @@ -1305,7 +1305,7 @@ class Geo * @var ?string $pw */ #[\JMS\Serializer\Annotation\SerializedName('PW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pw = null; /** @@ -1313,7 +1313,7 @@ class Geo * @var ?string $ps */ #[\JMS\Serializer\Annotation\SerializedName('PS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ps = null; /** @@ -1321,7 +1321,7 @@ class Geo * @var ?string $pa */ #[\JMS\Serializer\Annotation\SerializedName('PA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pa = null; /** @@ -1329,7 +1329,7 @@ class Geo * @var ?string $pg */ #[\JMS\Serializer\Annotation\SerializedName('PG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pg = null; /** @@ -1337,7 +1337,7 @@ class Geo * @var ?string $py */ #[\JMS\Serializer\Annotation\SerializedName('PY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $py = null; /** @@ -1345,7 +1345,7 @@ class Geo * @var ?string $pe */ #[\JMS\Serializer\Annotation\SerializedName('PE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pe = null; /** @@ -1353,7 +1353,7 @@ class Geo * @var ?string $ph */ #[\JMS\Serializer\Annotation\SerializedName('PH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ph = null; /** @@ -1361,7 +1361,7 @@ class Geo * @var ?string $pn */ #[\JMS\Serializer\Annotation\SerializedName('PN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pn = null; /** @@ -1369,7 +1369,7 @@ class Geo * @var ?string $pl */ #[\JMS\Serializer\Annotation\SerializedName('PL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pl = null; /** @@ -1377,7 +1377,7 @@ class Geo * @var ?string $pt */ #[\JMS\Serializer\Annotation\SerializedName('PT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pt = null; /** @@ -1385,7 +1385,7 @@ class Geo * @var ?string $pr */ #[\JMS\Serializer\Annotation\SerializedName('PR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pr = null; /** @@ -1393,7 +1393,7 @@ class Geo * @var ?string $qa */ #[\JMS\Serializer\Annotation\SerializedName('QA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $qa = null; /** @@ -1401,7 +1401,7 @@ class Geo * @var ?string $re */ #[\JMS\Serializer\Annotation\SerializedName('RE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $re = null; /** @@ -1409,7 +1409,7 @@ class Geo * @var ?string $ro */ #[\JMS\Serializer\Annotation\SerializedName('RO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ro = null; /** @@ -1417,7 +1417,7 @@ class Geo * @var ?string $ru */ #[\JMS\Serializer\Annotation\SerializedName('RU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ru = null; /** @@ -1425,7 +1425,7 @@ class Geo * @var ?string $rw */ #[\JMS\Serializer\Annotation\SerializedName('RW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $rw = null; /** @@ -1433,7 +1433,7 @@ class Geo * @var ?string $sh */ #[\JMS\Serializer\Annotation\SerializedName('SH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sh = null; /** @@ -1441,7 +1441,7 @@ class Geo * @var ?string $kn */ #[\JMS\Serializer\Annotation\SerializedName('KN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kn = null; /** @@ -1449,7 +1449,7 @@ class Geo * @var ?string $lc */ #[\JMS\Serializer\Annotation\SerializedName('LC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lc = null; /** @@ -1457,7 +1457,7 @@ class Geo * @var ?string $pm */ #[\JMS\Serializer\Annotation\SerializedName('PM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pm = null; /** @@ -1465,7 +1465,7 @@ class Geo * @var ?string $vc */ #[\JMS\Serializer\Annotation\SerializedName('VC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vc = null; /** @@ -1473,7 +1473,7 @@ class Geo * @var ?string $ws */ #[\JMS\Serializer\Annotation\SerializedName('WS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ws = null; /** @@ -1481,7 +1481,7 @@ class Geo * @var ?string $sm */ #[\JMS\Serializer\Annotation\SerializedName('SM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sm = null; /** @@ -1489,7 +1489,7 @@ class Geo * @var ?string $st */ #[\JMS\Serializer\Annotation\SerializedName('ST')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $st = null; /** @@ -1497,7 +1497,7 @@ class Geo * @var ?string $sa */ #[\JMS\Serializer\Annotation\SerializedName('SA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sa = null; /** @@ -1505,7 +1505,7 @@ class Geo * @var ?string $sn */ #[\JMS\Serializer\Annotation\SerializedName('SN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sn = null; /** @@ -1513,7 +1513,7 @@ class Geo * @var ?string $sc */ #[\JMS\Serializer\Annotation\SerializedName('SC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sc = null; /** @@ -1521,7 +1521,7 @@ class Geo * @var ?string $sl */ #[\JMS\Serializer\Annotation\SerializedName('SL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sl = null; /** @@ -1529,7 +1529,7 @@ class Geo * @var ?string $sg */ #[\JMS\Serializer\Annotation\SerializedName('SG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sg = null; /** @@ -1537,7 +1537,7 @@ class Geo * @var ?string $sk */ #[\JMS\Serializer\Annotation\SerializedName('SK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sk = null; /** @@ -1545,7 +1545,7 @@ class Geo * @var ?string $si */ #[\JMS\Serializer\Annotation\SerializedName('SI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $si = null; /** @@ -1553,7 +1553,7 @@ class Geo * @var ?string $sb */ #[\JMS\Serializer\Annotation\SerializedName('SB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sb = null; /** @@ -1561,7 +1561,7 @@ class Geo * @var ?string $so */ #[\JMS\Serializer\Annotation\SerializedName('SO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $so = null; /** @@ -1569,7 +1569,7 @@ class Geo * @var ?string $za */ #[\JMS\Serializer\Annotation\SerializedName('ZA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $za = null; /** @@ -1577,7 +1577,7 @@ class Geo * @var ?string $gs */ #[\JMS\Serializer\Annotation\SerializedName('GS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gs = null; /** @@ -1585,7 +1585,7 @@ class Geo * @var ?string $es */ #[\JMS\Serializer\Annotation\SerializedName('ES')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $es = null; /** @@ -1593,7 +1593,7 @@ class Geo * @var ?string $lk */ #[\JMS\Serializer\Annotation\SerializedName('LK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lk = null; /** @@ -1601,7 +1601,7 @@ class Geo * @var ?string $sd */ #[\JMS\Serializer\Annotation\SerializedName('SD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sd = null; /** @@ -1609,7 +1609,7 @@ class Geo * @var ?string $sr */ #[\JMS\Serializer\Annotation\SerializedName('SR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sr = null; /** @@ -1617,7 +1617,7 @@ class Geo * @var ?string $sj */ #[\JMS\Serializer\Annotation\SerializedName('SJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sj = null; /** @@ -1625,7 +1625,7 @@ class Geo * @var ?string $sz */ #[\JMS\Serializer\Annotation\SerializedName('SZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sz = null; /** @@ -1633,7 +1633,7 @@ class Geo * @var ?string $se */ #[\JMS\Serializer\Annotation\SerializedName('SE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $se = null; /** @@ -1641,7 +1641,7 @@ class Geo * @var ?string $ch */ #[\JMS\Serializer\Annotation\SerializedName('CH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ch = null; /** @@ -1649,7 +1649,7 @@ class Geo * @var ?string $sy */ #[\JMS\Serializer\Annotation\SerializedName('SY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sy = null; /** @@ -1657,7 +1657,7 @@ class Geo * @var ?string $tw */ #[\JMS\Serializer\Annotation\SerializedName('TW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tw = null; /** @@ -1665,7 +1665,7 @@ class Geo * @var ?string $tj */ #[\JMS\Serializer\Annotation\SerializedName('TJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tj = null; /** @@ -1673,7 +1673,7 @@ class Geo * @var ?string $tz */ #[\JMS\Serializer\Annotation\SerializedName('TZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tz = null; /** @@ -1681,7 +1681,7 @@ class Geo * @var ?string $th */ #[\JMS\Serializer\Annotation\SerializedName('TH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $th = null; /** @@ -1689,7 +1689,7 @@ class Geo * @var ?string $tl */ #[\JMS\Serializer\Annotation\SerializedName('TL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tl = null; /** @@ -1697,7 +1697,7 @@ class Geo * @var ?string $tg */ #[\JMS\Serializer\Annotation\SerializedName('TG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tg = null; /** @@ -1705,7 +1705,7 @@ class Geo * @var ?string $tk */ #[\JMS\Serializer\Annotation\SerializedName('TK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tk = null; /** @@ -1713,7 +1713,7 @@ class Geo * @var ?string $to */ #[\JMS\Serializer\Annotation\SerializedName('TO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $to = null; /** @@ -1721,7 +1721,7 @@ class Geo * @var ?string $tt */ #[\JMS\Serializer\Annotation\SerializedName('TT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tt = null; /** @@ -1729,7 +1729,7 @@ class Geo * @var ?string $tn */ #[\JMS\Serializer\Annotation\SerializedName('TN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tn = null; /** @@ -1737,7 +1737,7 @@ class Geo * @var ?string $tr */ #[\JMS\Serializer\Annotation\SerializedName('TR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tr = null; /** @@ -1745,7 +1745,7 @@ class Geo * @var ?string $tm */ #[\JMS\Serializer\Annotation\SerializedName('TM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tm = null; /** @@ -1753,7 +1753,7 @@ class Geo * @var ?string $tc */ #[\JMS\Serializer\Annotation\SerializedName('TC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tc = null; /** @@ -1761,7 +1761,7 @@ class Geo * @var ?string $tv */ #[\JMS\Serializer\Annotation\SerializedName('TV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tv = null; /** @@ -1769,7 +1769,7 @@ class Geo * @var ?string $ug */ #[\JMS\Serializer\Annotation\SerializedName('UG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ug = null; /** @@ -1777,7 +1777,7 @@ class Geo * @var ?string $ua */ #[\JMS\Serializer\Annotation\SerializedName('UA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ua = null; /** @@ -1785,7 +1785,7 @@ class Geo * @var ?string $ae */ #[\JMS\Serializer\Annotation\SerializedName('AE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ae = null; /** @@ -1793,7 +1793,7 @@ class Geo * @var ?string $gb */ #[\JMS\Serializer\Annotation\SerializedName('GB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gb = null; /** @@ -1801,7 +1801,7 @@ class Geo * @var ?string $us */ #[\JMS\Serializer\Annotation\SerializedName('US')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $us = null; /** @@ -1809,7 +1809,7 @@ class Geo * @var ?string $um */ #[\JMS\Serializer\Annotation\SerializedName('UM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $um = null; /** @@ -1817,7 +1817,7 @@ class Geo * @var ?string $uy */ #[\JMS\Serializer\Annotation\SerializedName('UY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $uy = null; /** @@ -1825,7 +1825,7 @@ class Geo * @var ?string $uz */ #[\JMS\Serializer\Annotation\SerializedName('UZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $uz = null; /** @@ -1833,7 +1833,7 @@ class Geo * @var ?string $vu */ #[\JMS\Serializer\Annotation\SerializedName('VU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vu = null; /** @@ -1841,7 +1841,7 @@ class Geo * @var ?string $ve */ #[\JMS\Serializer\Annotation\SerializedName('VE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ve = null; /** @@ -1849,7 +1849,7 @@ class Geo * @var ?string $vn */ #[\JMS\Serializer\Annotation\SerializedName('VN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vn = null; /** @@ -1857,7 +1857,7 @@ class Geo * @var ?string $vg */ #[\JMS\Serializer\Annotation\SerializedName('VG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vg = null; /** @@ -1865,7 +1865,7 @@ class Geo * @var ?string $vi */ #[\JMS\Serializer\Annotation\SerializedName('VI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vi = null; /** @@ -1873,7 +1873,7 @@ class Geo * @var ?string $wf */ #[\JMS\Serializer\Annotation\SerializedName('WF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $wf = null; /** @@ -1881,7 +1881,7 @@ class Geo * @var ?string $eh */ #[\JMS\Serializer\Annotation\SerializedName('EH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $eh = null; /** @@ -1889,7 +1889,7 @@ class Geo * @var ?string $ye */ #[\JMS\Serializer\Annotation\SerializedName('YE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ye = null; /** @@ -1897,7 +1897,7 @@ class Geo * @var ?string $zm */ #[\JMS\Serializer\Annotation\SerializedName('ZM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $zm = null; /** @@ -1905,7 +1905,7 @@ class Geo * @var ?string $zw */ #[\JMS\Serializer\Annotation\SerializedName('ZW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $zw = null; /** @@ -1913,7 +1913,7 @@ class Geo * @var ?string $ax */ #[\JMS\Serializer\Annotation\SerializedName('AX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ax = null; /** @@ -1921,7 +1921,7 @@ class Geo * @var ?string $bq */ #[\JMS\Serializer\Annotation\SerializedName('BQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bq = null; /** @@ -1929,7 +1929,7 @@ class Geo * @var ?string $cw */ #[\JMS\Serializer\Annotation\SerializedName('CW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cw = null; /** @@ -1937,7 +1937,7 @@ class Geo * @var ?string $gg */ #[\JMS\Serializer\Annotation\SerializedName('GG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gg = null; /** @@ -1945,7 +1945,7 @@ class Geo * @var ?string $im */ #[\JMS\Serializer\Annotation\SerializedName('IM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $im = null; /** @@ -1953,7 +1953,7 @@ class Geo * @var ?string $je */ #[\JMS\Serializer\Annotation\SerializedName('JE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $je = null; /** @@ -1961,7 +1961,7 @@ class Geo * @var ?string $me */ #[\JMS\Serializer\Annotation\SerializedName('ME')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $me = null; /** @@ -1969,7 +1969,7 @@ class Geo * @var ?string $bl */ #[\JMS\Serializer\Annotation\SerializedName('BL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bl = null; /** @@ -1977,7 +1977,7 @@ class Geo * @var ?string $mf */ #[\JMS\Serializer\Annotation\SerializedName('MF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mf = null; /** @@ -1985,7 +1985,7 @@ class Geo * @var ?string $rs */ #[\JMS\Serializer\Annotation\SerializedName('RS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $rs = null; /** @@ -1993,7 +1993,7 @@ class Geo * @var ?string $sx */ #[\JMS\Serializer\Annotation\SerializedName('SX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sx = null; /** @@ -2001,7 +2001,7 @@ class Geo * @var ?string $ss */ #[\JMS\Serializer\Annotation\SerializedName('SS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ss = null; /** @@ -2009,7 +2009,7 @@ class Geo * @var ?string $xk */ #[\JMS\Serializer\Annotation\SerializedName('XK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $xk = null; /** diff --git a/src/Models/Components/Link.php b/src/Models/Components/Link.php index 56c4813..8191f41 100644 --- a/src/Models/Components/Link.php +++ b/src/Models/Components/Link.php @@ -38,10 +38,10 @@ class Link /** * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter. * - * @var string $externalId + * @var ?string $externalId */ #[\JMS\Serializer\Annotation\SerializedName('externalId')] - public string $externalId; + public ?string $externalId; /** * @@ -55,7 +55,7 @@ class Link * @var ?bool $trackConversion */ #[\JMS\Serializer\Annotation\SerializedName('trackConversion')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $trackConversion = null; /** @@ -63,7 +63,7 @@ class Link * @var ?bool $archived */ #[\JMS\Serializer\Annotation\SerializedName('archived')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $archived = null; /** @@ -76,65 +76,65 @@ class Link /** * The URL to redirect to when the short link has expired. * - * @var string $expiredUrl + * @var ?string $expiredUrl */ #[\JMS\Serializer\Annotation\SerializedName('expiredUrl')] - public string $expiredUrl; + public ?string $expiredUrl; /** * The password required to access the destination URL of the short link. * - * @var string $password + * @var ?string $password */ #[\JMS\Serializer\Annotation\SerializedName('password')] - public string $password; + public ?string $password; /** * * @var ?bool $proxy */ #[\JMS\Serializer\Annotation\SerializedName('proxy')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $proxy = null; /** * The title of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. * - * @var string $title + * @var ?string $title */ #[\JMS\Serializer\Annotation\SerializedName('title')] - public string $title; + public ?string $title; /** * The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. * - * @var string $description + * @var ?string $description */ #[\JMS\Serializer\Annotation\SerializedName('description')] - public string $description; + public ?string $description; /** * The image of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. * - * @var string $image + * @var ?string $image */ #[\JMS\Serializer\Annotation\SerializedName('image')] - public string $image; + public ?string $image; /** * The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og * - * @var string $video + * @var ?string $video */ #[\JMS\Serializer\Annotation\SerializedName('video')] - public string $video; + public ?string $video; /** * * @var ?bool $rewrite */ #[\JMS\Serializer\Annotation\SerializedName('rewrite')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $rewrite = null; /** @@ -142,67 +142,67 @@ class Link * @var ?bool $doIndex */ #[\JMS\Serializer\Annotation\SerializedName('doIndex')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $doIndex = null; /** * The iOS destination URL for the short link for iOS device targeting. * - * @var string $ios + * @var ?string $ios */ #[\JMS\Serializer\Annotation\SerializedName('ios')] - public string $ios; + public ?string $ios; /** * The Android destination URL for the short link for Android device targeting. * - * @var string $android + * @var ?string $android */ #[\JMS\Serializer\Annotation\SerializedName('android')] - public string $android; + public ?string $android; /** * Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://d.to/geo * - * @var ClickEventGeo $geo + * @var ?ClickEventGeo $geo */ #[\JMS\Serializer\Annotation\SerializedName('geo')] - #[\JMS\Serializer\Annotation\Type('\Dub\Models\Components\ClickEventGeo')] - public ClickEventGeo $geo; + #[\JMS\Serializer\Annotation\Type('\Dub\Models\Components\ClickEventGeo|null')] + public ?ClickEventGeo $geo; /** * * @var ?bool $publicStats */ #[\JMS\Serializer\Annotation\SerializedName('publicStats')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $publicStats = null; /** * The unique ID of the tag assigned to the short link. This field is deprecated – use `tags` instead. * - * @var string $tagId + * @var ?string $tagId * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ #[\JMS\Serializer\Annotation\SerializedName('tagId')] - public string $tagId; + public ?string $tagId; /** * The tags assigned to the short link. * - * @var array $tags + * @var ?array $tags */ #[\JMS\Serializer\Annotation\SerializedName('tags')] - #[\JMS\Serializer\Annotation\Type('array<\Dub\Models\Components\TagSchema>')] - public array $tags; + #[\JMS\Serializer\Annotation\Type('array<\Dub\Models\Components\TagSchema>|null')] + public ?array $tags; /** * The comments for the short link. * - * @var string $comments + * @var ?string $comments */ #[\JMS\Serializer\Annotation\SerializedName('comments')] - public string $comments; + public ?string $comments; /** * The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`). @@ -223,49 +223,49 @@ class Link /** * The UTM source of the short link. * - * @var string $utmSource + * @var ?string $utmSource */ #[\JMS\Serializer\Annotation\SerializedName('utm_source')] - public string $utmSource; + public ?string $utmSource; /** * The UTM medium of the short link. * - * @var string $utmMedium + * @var ?string $utmMedium */ #[\JMS\Serializer\Annotation\SerializedName('utm_medium')] - public string $utmMedium; + public ?string $utmMedium; /** * The UTM campaign of the short link. * - * @var string $utmCampaign + * @var ?string $utmCampaign */ #[\JMS\Serializer\Annotation\SerializedName('utm_campaign')] - public string $utmCampaign; + public ?string $utmCampaign; /** * The UTM term of the short link. * - * @var string $utmTerm + * @var ?string $utmTerm */ #[\JMS\Serializer\Annotation\SerializedName('utm_term')] - public string $utmTerm; + public ?string $utmTerm; /** * The UTM content of the short link. * - * @var string $utmContent + * @var ?string $utmContent */ #[\JMS\Serializer\Annotation\SerializedName('utm_content')] - public string $utmContent; + public ?string $utmContent; /** * - * @var string $userId + * @var ?string $userId */ #[\JMS\Serializer\Annotation\SerializedName('userId')] - public string $userId; + public ?string $userId; /** * The workspace ID of the short link. @@ -338,90 +338,90 @@ class Link public string $projectId; /** - * @param ?string $id - * @param ?string $domain - * @param ?string $key + * @param string $id + * @param string $domain + * @param string $key + * @param string $url + * @param string $expiresAt + * @param string $shortLink + * @param string $qrCode + * @param string $workspaceId + * @param float $clicks + * @param string $lastClicked + * @param float $leads + * @param float $sales + * @param float $saleAmount + * @param string $createdAt + * @param string $updatedAt + * @param string $projectId * @param ?string $externalId - * @param ?string $url - * @param ?string $expiresAt + * @param ?bool $trackConversion + * @param ?bool $archived * @param ?string $expiredUrl * @param ?string $password + * @param ?bool $proxy * @param ?string $title * @param ?string $description * @param ?string $image * @param ?string $video + * @param ?bool $rewrite + * @param ?bool $doIndex * @param ?string $ios * @param ?string $android * @param ?ClickEventGeo $geo + * @param ?bool $publicStats * @param ?string $tagId * @param ?array $tags * @param ?string $comments - * @param ?string $shortLink - * @param ?string $qrCode * @param ?string $utmSource * @param ?string $utmMedium * @param ?string $utmCampaign * @param ?string $utmTerm * @param ?string $utmContent * @param ?string $userId - * @param ?string $workspaceId - * @param ?float $clicks - * @param ?string $lastClicked - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount - * @param ?string $createdAt - * @param ?string $updatedAt - * @param ?string $projectId - * @param ?bool $trackConversion - * @param ?bool $archived - * @param ?bool $proxy - * @param ?bool $rewrite - * @param ?bool $doIndex - * @param ?bool $publicStats */ - public function __construct(?string $id = null, ?string $domain = null, ?string $key = null, ?string $externalId = null, ?string $url = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?string $ios = null, ?string $android = null, ?ClickEventGeo $geo = null, ?string $tagId = null, ?array $tags = null, ?string $comments = null, ?string $shortLink = null, ?string $qrCode = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null, ?string $userId = null, ?string $workspaceId = null, ?float $clicks = null, ?string $lastClicked = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null, ?string $createdAt = null, ?string $updatedAt = null, ?string $projectId = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $proxy = null, ?bool $rewrite = null, ?bool $doIndex = null, ?bool $publicStats = null) + public function __construct(string $id, string $domain, string $key, string $url, string $expiresAt, string $shortLink, string $qrCode, string $workspaceId, float $clicks, string $lastClicked, float $leads, float $sales, float $saleAmount, string $createdAt, string $updatedAt, string $projectId, ?string $externalId = null, ?bool $trackConversion = null, ?bool $archived = null, ?string $expiredUrl = null, ?string $password = null, ?bool $proxy = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?bool $rewrite = null, ?bool $doIndex = null, ?string $ios = null, ?string $android = null, ?ClickEventGeo $geo = null, ?bool $publicStats = null, ?string $tagId = null, ?array $tags = null, ?string $comments = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null, ?string $userId = null) { $this->id = $id; $this->domain = $domain; $this->key = $key; - $this->externalId = $externalId; $this->url = $url; $this->expiresAt = $expiresAt; + $this->shortLink = $shortLink; + $this->qrCode = $qrCode; + $this->workspaceId = $workspaceId; + $this->clicks = $clicks; + $this->lastClicked = $lastClicked; + $this->leads = $leads; + $this->sales = $sales; + $this->saleAmount = $saleAmount; + $this->createdAt = $createdAt; + $this->updatedAt = $updatedAt; + $this->projectId = $projectId; + $this->externalId = $externalId; + $this->trackConversion = $trackConversion; + $this->archived = $archived; $this->expiredUrl = $expiredUrl; $this->password = $password; + $this->proxy = $proxy; $this->title = $title; $this->description = $description; $this->image = $image; $this->video = $video; + $this->rewrite = $rewrite; + $this->doIndex = $doIndex; $this->ios = $ios; $this->android = $android; $this->geo = $geo; + $this->publicStats = $publicStats; $this->tagId = $tagId; $this->tags = $tags; $this->comments = $comments; - $this->shortLink = $shortLink; - $this->qrCode = $qrCode; $this->utmSource = $utmSource; $this->utmMedium = $utmMedium; $this->utmCampaign = $utmCampaign; $this->utmTerm = $utmTerm; $this->utmContent = $utmContent; $this->userId = $userId; - $this->workspaceId = $workspaceId; - $this->clicks = $clicks; - $this->lastClicked = $lastClicked; - $this->leads = $leads; - $this->sales = $sales; - $this->saleAmount = $saleAmount; - $this->createdAt = $createdAt; - $this->updatedAt = $updatedAt; - $this->projectId = $projectId; - $this->trackConversion = $trackConversion; - $this->archived = $archived; - $this->proxy = $proxy; - $this->rewrite = $rewrite; - $this->doIndex = $doIndex; - $this->publicStats = $publicStats; } } \ No newline at end of file diff --git a/src/Models/Components/LinkGeoTargeting.php b/src/Models/Components/LinkGeoTargeting.php index 5f29979..c780b35 100644 --- a/src/Models/Components/LinkGeoTargeting.php +++ b/src/Models/Components/LinkGeoTargeting.php @@ -17,7 +17,7 @@ class LinkGeoTargeting * @var ?string $af */ #[\JMS\Serializer\Annotation\SerializedName('AF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $af = null; /** @@ -25,7 +25,7 @@ class LinkGeoTargeting * @var ?string $al */ #[\JMS\Serializer\Annotation\SerializedName('AL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $al = null; /** @@ -33,7 +33,7 @@ class LinkGeoTargeting * @var ?string $dz */ #[\JMS\Serializer\Annotation\SerializedName('DZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dz = null; /** @@ -41,7 +41,7 @@ class LinkGeoTargeting * @var ?string $as */ #[\JMS\Serializer\Annotation\SerializedName('AS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $as = null; /** @@ -49,7 +49,7 @@ class LinkGeoTargeting * @var ?string $ad */ #[\JMS\Serializer\Annotation\SerializedName('AD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ad = null; /** @@ -57,7 +57,7 @@ class LinkGeoTargeting * @var ?string $ao */ #[\JMS\Serializer\Annotation\SerializedName('AO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ao = null; /** @@ -65,7 +65,7 @@ class LinkGeoTargeting * @var ?string $ai */ #[\JMS\Serializer\Annotation\SerializedName('AI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ai = null; /** @@ -73,7 +73,7 @@ class LinkGeoTargeting * @var ?string $aq */ #[\JMS\Serializer\Annotation\SerializedName('AQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $aq = null; /** @@ -81,7 +81,7 @@ class LinkGeoTargeting * @var ?string $ag */ #[\JMS\Serializer\Annotation\SerializedName('AG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ag = null; /** @@ -89,7 +89,7 @@ class LinkGeoTargeting * @var ?string $ar */ #[\JMS\Serializer\Annotation\SerializedName('AR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ar = null; /** @@ -97,7 +97,7 @@ class LinkGeoTargeting * @var ?string $am */ #[\JMS\Serializer\Annotation\SerializedName('AM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $am = null; /** @@ -105,7 +105,7 @@ class LinkGeoTargeting * @var ?string $aw */ #[\JMS\Serializer\Annotation\SerializedName('AW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $aw = null; /** @@ -113,7 +113,7 @@ class LinkGeoTargeting * @var ?string $au */ #[\JMS\Serializer\Annotation\SerializedName('AU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $au = null; /** @@ -121,7 +121,7 @@ class LinkGeoTargeting * @var ?string $at */ #[\JMS\Serializer\Annotation\SerializedName('AT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $at = null; /** @@ -129,7 +129,7 @@ class LinkGeoTargeting * @var ?string $az */ #[\JMS\Serializer\Annotation\SerializedName('AZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $az = null; /** @@ -137,7 +137,7 @@ class LinkGeoTargeting * @var ?string $bs */ #[\JMS\Serializer\Annotation\SerializedName('BS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bs = null; /** @@ -145,7 +145,7 @@ class LinkGeoTargeting * @var ?string $bh */ #[\JMS\Serializer\Annotation\SerializedName('BH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bh = null; /** @@ -153,7 +153,7 @@ class LinkGeoTargeting * @var ?string $bd */ #[\JMS\Serializer\Annotation\SerializedName('BD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bd = null; /** @@ -161,7 +161,7 @@ class LinkGeoTargeting * @var ?string $bb */ #[\JMS\Serializer\Annotation\SerializedName('BB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bb = null; /** @@ -169,7 +169,7 @@ class LinkGeoTargeting * @var ?string $by */ #[\JMS\Serializer\Annotation\SerializedName('BY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $by = null; /** @@ -177,7 +177,7 @@ class LinkGeoTargeting * @var ?string $be */ #[\JMS\Serializer\Annotation\SerializedName('BE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $be = null; /** @@ -185,7 +185,7 @@ class LinkGeoTargeting * @var ?string $bz */ #[\JMS\Serializer\Annotation\SerializedName('BZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bz = null; /** @@ -193,7 +193,7 @@ class LinkGeoTargeting * @var ?string $bj */ #[\JMS\Serializer\Annotation\SerializedName('BJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bj = null; /** @@ -201,7 +201,7 @@ class LinkGeoTargeting * @var ?string $bm */ #[\JMS\Serializer\Annotation\SerializedName('BM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bm = null; /** @@ -209,7 +209,7 @@ class LinkGeoTargeting * @var ?string $bt */ #[\JMS\Serializer\Annotation\SerializedName('BT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bt = null; /** @@ -217,7 +217,7 @@ class LinkGeoTargeting * @var ?string $bo */ #[\JMS\Serializer\Annotation\SerializedName('BO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bo = null; /** @@ -225,7 +225,7 @@ class LinkGeoTargeting * @var ?string $ba */ #[\JMS\Serializer\Annotation\SerializedName('BA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ba = null; /** @@ -233,7 +233,7 @@ class LinkGeoTargeting * @var ?string $bw */ #[\JMS\Serializer\Annotation\SerializedName('BW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bw = null; /** @@ -241,7 +241,7 @@ class LinkGeoTargeting * @var ?string $bv */ #[\JMS\Serializer\Annotation\SerializedName('BV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bv = null; /** @@ -249,7 +249,7 @@ class LinkGeoTargeting * @var ?string $br */ #[\JMS\Serializer\Annotation\SerializedName('BR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $br = null; /** @@ -257,7 +257,7 @@ class LinkGeoTargeting * @var ?string $io */ #[\JMS\Serializer\Annotation\SerializedName('IO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $io = null; /** @@ -265,7 +265,7 @@ class LinkGeoTargeting * @var ?string $bn */ #[\JMS\Serializer\Annotation\SerializedName('BN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bn = null; /** @@ -273,7 +273,7 @@ class LinkGeoTargeting * @var ?string $bg */ #[\JMS\Serializer\Annotation\SerializedName('BG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bg = null; /** @@ -281,7 +281,7 @@ class LinkGeoTargeting * @var ?string $bf */ #[\JMS\Serializer\Annotation\SerializedName('BF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bf = null; /** @@ -289,7 +289,7 @@ class LinkGeoTargeting * @var ?string $bi */ #[\JMS\Serializer\Annotation\SerializedName('BI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bi = null; /** @@ -297,7 +297,7 @@ class LinkGeoTargeting * @var ?string $kh */ #[\JMS\Serializer\Annotation\SerializedName('KH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kh = null; /** @@ -305,7 +305,7 @@ class LinkGeoTargeting * @var ?string $cm */ #[\JMS\Serializer\Annotation\SerializedName('CM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cm = null; /** @@ -313,7 +313,7 @@ class LinkGeoTargeting * @var ?string $ca */ #[\JMS\Serializer\Annotation\SerializedName('CA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ca = null; /** @@ -321,7 +321,7 @@ class LinkGeoTargeting * @var ?string $cv */ #[\JMS\Serializer\Annotation\SerializedName('CV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cv = null; /** @@ -329,7 +329,7 @@ class LinkGeoTargeting * @var ?string $ky */ #[\JMS\Serializer\Annotation\SerializedName('KY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ky = null; /** @@ -337,7 +337,7 @@ class LinkGeoTargeting * @var ?string $cf */ #[\JMS\Serializer\Annotation\SerializedName('CF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cf = null; /** @@ -345,7 +345,7 @@ class LinkGeoTargeting * @var ?string $td */ #[\JMS\Serializer\Annotation\SerializedName('TD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $td = null; /** @@ -353,7 +353,7 @@ class LinkGeoTargeting * @var ?string $cl */ #[\JMS\Serializer\Annotation\SerializedName('CL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cl = null; /** @@ -361,7 +361,7 @@ class LinkGeoTargeting * @var ?string $cn */ #[\JMS\Serializer\Annotation\SerializedName('CN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cn = null; /** @@ -369,7 +369,7 @@ class LinkGeoTargeting * @var ?string $cx */ #[\JMS\Serializer\Annotation\SerializedName('CX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cx = null; /** @@ -377,7 +377,7 @@ class LinkGeoTargeting * @var ?string $cc */ #[\JMS\Serializer\Annotation\SerializedName('CC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cc = null; /** @@ -385,7 +385,7 @@ class LinkGeoTargeting * @var ?string $co */ #[\JMS\Serializer\Annotation\SerializedName('CO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $co = null; /** @@ -393,7 +393,7 @@ class LinkGeoTargeting * @var ?string $km */ #[\JMS\Serializer\Annotation\SerializedName('KM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $km = null; /** @@ -401,7 +401,7 @@ class LinkGeoTargeting * @var ?string $cg */ #[\JMS\Serializer\Annotation\SerializedName('CG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cg = null; /** @@ -409,7 +409,7 @@ class LinkGeoTargeting * @var ?string $cd */ #[\JMS\Serializer\Annotation\SerializedName('CD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cd = null; /** @@ -417,7 +417,7 @@ class LinkGeoTargeting * @var ?string $ck */ #[\JMS\Serializer\Annotation\SerializedName('CK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ck = null; /** @@ -425,7 +425,7 @@ class LinkGeoTargeting * @var ?string $cr */ #[\JMS\Serializer\Annotation\SerializedName('CR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cr = null; /** @@ -433,7 +433,7 @@ class LinkGeoTargeting * @var ?string $ci */ #[\JMS\Serializer\Annotation\SerializedName('CI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ci = null; /** @@ -441,7 +441,7 @@ class LinkGeoTargeting * @var ?string $hr */ #[\JMS\Serializer\Annotation\SerializedName('HR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hr = null; /** @@ -449,7 +449,7 @@ class LinkGeoTargeting * @var ?string $cu */ #[\JMS\Serializer\Annotation\SerializedName('CU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cu = null; /** @@ -457,7 +457,7 @@ class LinkGeoTargeting * @var ?string $cy */ #[\JMS\Serializer\Annotation\SerializedName('CY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cy = null; /** @@ -465,7 +465,7 @@ class LinkGeoTargeting * @var ?string $cz */ #[\JMS\Serializer\Annotation\SerializedName('CZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cz = null; /** @@ -473,7 +473,7 @@ class LinkGeoTargeting * @var ?string $dk */ #[\JMS\Serializer\Annotation\SerializedName('DK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dk = null; /** @@ -481,7 +481,7 @@ class LinkGeoTargeting * @var ?string $dj */ #[\JMS\Serializer\Annotation\SerializedName('DJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dj = null; /** @@ -489,7 +489,7 @@ class LinkGeoTargeting * @var ?string $dm */ #[\JMS\Serializer\Annotation\SerializedName('DM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $dm = null; /** @@ -497,7 +497,7 @@ class LinkGeoTargeting * @var ?string $do */ #[\JMS\Serializer\Annotation\SerializedName('DO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $do = null; /** @@ -505,7 +505,7 @@ class LinkGeoTargeting * @var ?string $ec */ #[\JMS\Serializer\Annotation\SerializedName('EC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ec = null; /** @@ -513,7 +513,7 @@ class LinkGeoTargeting * @var ?string $eg */ #[\JMS\Serializer\Annotation\SerializedName('EG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $eg = null; /** @@ -521,7 +521,7 @@ class LinkGeoTargeting * @var ?string $sv */ #[\JMS\Serializer\Annotation\SerializedName('SV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sv = null; /** @@ -529,7 +529,7 @@ class LinkGeoTargeting * @var ?string $gq */ #[\JMS\Serializer\Annotation\SerializedName('GQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gq = null; /** @@ -537,7 +537,7 @@ class LinkGeoTargeting * @var ?string $er */ #[\JMS\Serializer\Annotation\SerializedName('ER')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $er = null; /** @@ -545,7 +545,7 @@ class LinkGeoTargeting * @var ?string $ee */ #[\JMS\Serializer\Annotation\SerializedName('EE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ee = null; /** @@ -553,7 +553,7 @@ class LinkGeoTargeting * @var ?string $et */ #[\JMS\Serializer\Annotation\SerializedName('ET')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $et = null; /** @@ -561,7 +561,7 @@ class LinkGeoTargeting * @var ?string $fk */ #[\JMS\Serializer\Annotation\SerializedName('FK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fk = null; /** @@ -569,7 +569,7 @@ class LinkGeoTargeting * @var ?string $fo */ #[\JMS\Serializer\Annotation\SerializedName('FO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fo = null; /** @@ -577,7 +577,7 @@ class LinkGeoTargeting * @var ?string $fj */ #[\JMS\Serializer\Annotation\SerializedName('FJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fj = null; /** @@ -585,7 +585,7 @@ class LinkGeoTargeting * @var ?string $fi */ #[\JMS\Serializer\Annotation\SerializedName('FI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fi = null; /** @@ -593,7 +593,7 @@ class LinkGeoTargeting * @var ?string $fr */ #[\JMS\Serializer\Annotation\SerializedName('FR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fr = null; /** @@ -601,7 +601,7 @@ class LinkGeoTargeting * @var ?string $gf */ #[\JMS\Serializer\Annotation\SerializedName('GF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gf = null; /** @@ -609,7 +609,7 @@ class LinkGeoTargeting * @var ?string $pf */ #[\JMS\Serializer\Annotation\SerializedName('PF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pf = null; /** @@ -617,7 +617,7 @@ class LinkGeoTargeting * @var ?string $tf */ #[\JMS\Serializer\Annotation\SerializedName('TF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tf = null; /** @@ -625,7 +625,7 @@ class LinkGeoTargeting * @var ?string $ga */ #[\JMS\Serializer\Annotation\SerializedName('GA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ga = null; /** @@ -633,7 +633,7 @@ class LinkGeoTargeting * @var ?string $gm */ #[\JMS\Serializer\Annotation\SerializedName('GM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gm = null; /** @@ -641,7 +641,7 @@ class LinkGeoTargeting * @var ?string $ge */ #[\JMS\Serializer\Annotation\SerializedName('GE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ge = null; /** @@ -649,7 +649,7 @@ class LinkGeoTargeting * @var ?string $de */ #[\JMS\Serializer\Annotation\SerializedName('DE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $de = null; /** @@ -657,7 +657,7 @@ class LinkGeoTargeting * @var ?string $gh */ #[\JMS\Serializer\Annotation\SerializedName('GH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gh = null; /** @@ -665,7 +665,7 @@ class LinkGeoTargeting * @var ?string $gi */ #[\JMS\Serializer\Annotation\SerializedName('GI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gi = null; /** @@ -673,7 +673,7 @@ class LinkGeoTargeting * @var ?string $gr */ #[\JMS\Serializer\Annotation\SerializedName('GR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gr = null; /** @@ -681,7 +681,7 @@ class LinkGeoTargeting * @var ?string $gl */ #[\JMS\Serializer\Annotation\SerializedName('GL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gl = null; /** @@ -689,7 +689,7 @@ class LinkGeoTargeting * @var ?string $gd */ #[\JMS\Serializer\Annotation\SerializedName('GD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gd = null; /** @@ -697,7 +697,7 @@ class LinkGeoTargeting * @var ?string $gp */ #[\JMS\Serializer\Annotation\SerializedName('GP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gp = null; /** @@ -705,7 +705,7 @@ class LinkGeoTargeting * @var ?string $gu */ #[\JMS\Serializer\Annotation\SerializedName('GU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gu = null; /** @@ -713,7 +713,7 @@ class LinkGeoTargeting * @var ?string $gt */ #[\JMS\Serializer\Annotation\SerializedName('GT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gt = null; /** @@ -721,7 +721,7 @@ class LinkGeoTargeting * @var ?string $gn */ #[\JMS\Serializer\Annotation\SerializedName('GN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gn = null; /** @@ -729,7 +729,7 @@ class LinkGeoTargeting * @var ?string $gw */ #[\JMS\Serializer\Annotation\SerializedName('GW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gw = null; /** @@ -737,7 +737,7 @@ class LinkGeoTargeting * @var ?string $gy */ #[\JMS\Serializer\Annotation\SerializedName('GY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gy = null; /** @@ -745,7 +745,7 @@ class LinkGeoTargeting * @var ?string $ht */ #[\JMS\Serializer\Annotation\SerializedName('HT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ht = null; /** @@ -753,7 +753,7 @@ class LinkGeoTargeting * @var ?string $hm */ #[\JMS\Serializer\Annotation\SerializedName('HM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hm = null; /** @@ -761,7 +761,7 @@ class LinkGeoTargeting * @var ?string $va */ #[\JMS\Serializer\Annotation\SerializedName('VA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $va = null; /** @@ -769,7 +769,7 @@ class LinkGeoTargeting * @var ?string $hn */ #[\JMS\Serializer\Annotation\SerializedName('HN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hn = null; /** @@ -777,7 +777,7 @@ class LinkGeoTargeting * @var ?string $hk */ #[\JMS\Serializer\Annotation\SerializedName('HK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hk = null; /** @@ -785,7 +785,7 @@ class LinkGeoTargeting * @var ?string $hu */ #[\JMS\Serializer\Annotation\SerializedName('HU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $hu = null; /** @@ -793,7 +793,7 @@ class LinkGeoTargeting * @var ?string $is */ #[\JMS\Serializer\Annotation\SerializedName('IS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $is = null; /** @@ -801,7 +801,7 @@ class LinkGeoTargeting * @var ?string $in */ #[\JMS\Serializer\Annotation\SerializedName('IN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $in = null; /** @@ -809,7 +809,7 @@ class LinkGeoTargeting * @var ?string $id */ #[\JMS\Serializer\Annotation\SerializedName('ID')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $id = null; /** @@ -817,7 +817,7 @@ class LinkGeoTargeting * @var ?string $ir */ #[\JMS\Serializer\Annotation\SerializedName('IR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ir = null; /** @@ -825,7 +825,7 @@ class LinkGeoTargeting * @var ?string $iq */ #[\JMS\Serializer\Annotation\SerializedName('IQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $iq = null; /** @@ -833,7 +833,7 @@ class LinkGeoTargeting * @var ?string $ie */ #[\JMS\Serializer\Annotation\SerializedName('IE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ie = null; /** @@ -841,7 +841,7 @@ class LinkGeoTargeting * @var ?string $il */ #[\JMS\Serializer\Annotation\SerializedName('IL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $il = null; /** @@ -849,7 +849,7 @@ class LinkGeoTargeting * @var ?string $it */ #[\JMS\Serializer\Annotation\SerializedName('IT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $it = null; /** @@ -857,7 +857,7 @@ class LinkGeoTargeting * @var ?string $jm */ #[\JMS\Serializer\Annotation\SerializedName('JM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $jm = null; /** @@ -865,7 +865,7 @@ class LinkGeoTargeting * @var ?string $jp */ #[\JMS\Serializer\Annotation\SerializedName('JP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $jp = null; /** @@ -873,7 +873,7 @@ class LinkGeoTargeting * @var ?string $jo */ #[\JMS\Serializer\Annotation\SerializedName('JO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $jo = null; /** @@ -881,7 +881,7 @@ class LinkGeoTargeting * @var ?string $kz */ #[\JMS\Serializer\Annotation\SerializedName('KZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kz = null; /** @@ -889,7 +889,7 @@ class LinkGeoTargeting * @var ?string $ke */ #[\JMS\Serializer\Annotation\SerializedName('KE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ke = null; /** @@ -897,7 +897,7 @@ class LinkGeoTargeting * @var ?string $ki */ #[\JMS\Serializer\Annotation\SerializedName('KI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ki = null; /** @@ -905,7 +905,7 @@ class LinkGeoTargeting * @var ?string $kp */ #[\JMS\Serializer\Annotation\SerializedName('KP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kp = null; /** @@ -913,7 +913,7 @@ class LinkGeoTargeting * @var ?string $kr */ #[\JMS\Serializer\Annotation\SerializedName('KR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kr = null; /** @@ -921,7 +921,7 @@ class LinkGeoTargeting * @var ?string $kw */ #[\JMS\Serializer\Annotation\SerializedName('KW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kw = null; /** @@ -929,7 +929,7 @@ class LinkGeoTargeting * @var ?string $kg */ #[\JMS\Serializer\Annotation\SerializedName('KG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kg = null; /** @@ -937,7 +937,7 @@ class LinkGeoTargeting * @var ?string $la */ #[\JMS\Serializer\Annotation\SerializedName('LA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $la = null; /** @@ -945,7 +945,7 @@ class LinkGeoTargeting * @var ?string $lv */ #[\JMS\Serializer\Annotation\SerializedName('LV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lv = null; /** @@ -953,7 +953,7 @@ class LinkGeoTargeting * @var ?string $lb */ #[\JMS\Serializer\Annotation\SerializedName('LB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lb = null; /** @@ -961,7 +961,7 @@ class LinkGeoTargeting * @var ?string $ls */ #[\JMS\Serializer\Annotation\SerializedName('LS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ls = null; /** @@ -969,7 +969,7 @@ class LinkGeoTargeting * @var ?string $lr */ #[\JMS\Serializer\Annotation\SerializedName('LR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lr = null; /** @@ -977,7 +977,7 @@ class LinkGeoTargeting * @var ?string $ly */ #[\JMS\Serializer\Annotation\SerializedName('LY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ly = null; /** @@ -985,7 +985,7 @@ class LinkGeoTargeting * @var ?string $li */ #[\JMS\Serializer\Annotation\SerializedName('LI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $li = null; /** @@ -993,7 +993,7 @@ class LinkGeoTargeting * @var ?string $lt */ #[\JMS\Serializer\Annotation\SerializedName('LT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lt = null; /** @@ -1001,7 +1001,7 @@ class LinkGeoTargeting * @var ?string $lu */ #[\JMS\Serializer\Annotation\SerializedName('LU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lu = null; /** @@ -1009,7 +1009,7 @@ class LinkGeoTargeting * @var ?string $mo */ #[\JMS\Serializer\Annotation\SerializedName('MO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mo = null; /** @@ -1017,7 +1017,7 @@ class LinkGeoTargeting * @var ?string $mg */ #[\JMS\Serializer\Annotation\SerializedName('MG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mg = null; /** @@ -1025,7 +1025,7 @@ class LinkGeoTargeting * @var ?string $mw */ #[\JMS\Serializer\Annotation\SerializedName('MW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mw = null; /** @@ -1033,7 +1033,7 @@ class LinkGeoTargeting * @var ?string $my */ #[\JMS\Serializer\Annotation\SerializedName('MY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $my = null; /** @@ -1041,7 +1041,7 @@ class LinkGeoTargeting * @var ?string $mv */ #[\JMS\Serializer\Annotation\SerializedName('MV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mv = null; /** @@ -1049,7 +1049,7 @@ class LinkGeoTargeting * @var ?string $ml */ #[\JMS\Serializer\Annotation\SerializedName('ML')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ml = null; /** @@ -1057,7 +1057,7 @@ class LinkGeoTargeting * @var ?string $mt */ #[\JMS\Serializer\Annotation\SerializedName('MT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mt = null; /** @@ -1065,7 +1065,7 @@ class LinkGeoTargeting * @var ?string $mh */ #[\JMS\Serializer\Annotation\SerializedName('MH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mh = null; /** @@ -1073,7 +1073,7 @@ class LinkGeoTargeting * @var ?string $mq */ #[\JMS\Serializer\Annotation\SerializedName('MQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mq = null; /** @@ -1081,7 +1081,7 @@ class LinkGeoTargeting * @var ?string $mr */ #[\JMS\Serializer\Annotation\SerializedName('MR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mr = null; /** @@ -1089,7 +1089,7 @@ class LinkGeoTargeting * @var ?string $mu */ #[\JMS\Serializer\Annotation\SerializedName('MU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mu = null; /** @@ -1097,7 +1097,7 @@ class LinkGeoTargeting * @var ?string $yt */ #[\JMS\Serializer\Annotation\SerializedName('YT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $yt = null; /** @@ -1105,7 +1105,7 @@ class LinkGeoTargeting * @var ?string $mx */ #[\JMS\Serializer\Annotation\SerializedName('MX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mx = null; /** @@ -1113,7 +1113,7 @@ class LinkGeoTargeting * @var ?string $fm */ #[\JMS\Serializer\Annotation\SerializedName('FM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $fm = null; /** @@ -1121,7 +1121,7 @@ class LinkGeoTargeting * @var ?string $md */ #[\JMS\Serializer\Annotation\SerializedName('MD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $md = null; /** @@ -1129,7 +1129,7 @@ class LinkGeoTargeting * @var ?string $mc */ #[\JMS\Serializer\Annotation\SerializedName('MC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mc = null; /** @@ -1137,7 +1137,7 @@ class LinkGeoTargeting * @var ?string $mn */ #[\JMS\Serializer\Annotation\SerializedName('MN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mn = null; /** @@ -1145,7 +1145,7 @@ class LinkGeoTargeting * @var ?string $ms */ #[\JMS\Serializer\Annotation\SerializedName('MS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ms = null; /** @@ -1153,7 +1153,7 @@ class LinkGeoTargeting * @var ?string $ma */ #[\JMS\Serializer\Annotation\SerializedName('MA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ma = null; /** @@ -1161,7 +1161,7 @@ class LinkGeoTargeting * @var ?string $mz */ #[\JMS\Serializer\Annotation\SerializedName('MZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mz = null; /** @@ -1169,7 +1169,7 @@ class LinkGeoTargeting * @var ?string $mm */ #[\JMS\Serializer\Annotation\SerializedName('MM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mm = null; /** @@ -1177,7 +1177,7 @@ class LinkGeoTargeting * @var ?string $na */ #[\JMS\Serializer\Annotation\SerializedName('NA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $na = null; /** @@ -1185,7 +1185,7 @@ class LinkGeoTargeting * @var ?string $nr */ #[\JMS\Serializer\Annotation\SerializedName('NR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nr = null; /** @@ -1193,7 +1193,7 @@ class LinkGeoTargeting * @var ?string $np */ #[\JMS\Serializer\Annotation\SerializedName('NP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $np = null; /** @@ -1201,7 +1201,7 @@ class LinkGeoTargeting * @var ?string $nl */ #[\JMS\Serializer\Annotation\SerializedName('NL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nl = null; /** @@ -1209,7 +1209,7 @@ class LinkGeoTargeting * @var ?string $nc */ #[\JMS\Serializer\Annotation\SerializedName('NC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nc = null; /** @@ -1217,7 +1217,7 @@ class LinkGeoTargeting * @var ?string $nz */ #[\JMS\Serializer\Annotation\SerializedName('NZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nz = null; /** @@ -1225,7 +1225,7 @@ class LinkGeoTargeting * @var ?string $ni */ #[\JMS\Serializer\Annotation\SerializedName('NI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ni = null; /** @@ -1233,7 +1233,7 @@ class LinkGeoTargeting * @var ?string $ne */ #[\JMS\Serializer\Annotation\SerializedName('NE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ne = null; /** @@ -1241,7 +1241,7 @@ class LinkGeoTargeting * @var ?string $ng */ #[\JMS\Serializer\Annotation\SerializedName('NG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ng = null; /** @@ -1249,7 +1249,7 @@ class LinkGeoTargeting * @var ?string $nu */ #[\JMS\Serializer\Annotation\SerializedName('NU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nu = null; /** @@ -1257,7 +1257,7 @@ class LinkGeoTargeting * @var ?string $nf */ #[\JMS\Serializer\Annotation\SerializedName('NF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $nf = null; /** @@ -1265,7 +1265,7 @@ class LinkGeoTargeting * @var ?string $mk */ #[\JMS\Serializer\Annotation\SerializedName('MK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mk = null; /** @@ -1273,7 +1273,7 @@ class LinkGeoTargeting * @var ?string $mp */ #[\JMS\Serializer\Annotation\SerializedName('MP')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mp = null; /** @@ -1281,7 +1281,7 @@ class LinkGeoTargeting * @var ?string $no */ #[\JMS\Serializer\Annotation\SerializedName('NO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $no = null; /** @@ -1289,7 +1289,7 @@ class LinkGeoTargeting * @var ?string $om */ #[\JMS\Serializer\Annotation\SerializedName('OM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $om = null; /** @@ -1297,7 +1297,7 @@ class LinkGeoTargeting * @var ?string $pk */ #[\JMS\Serializer\Annotation\SerializedName('PK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pk = null; /** @@ -1305,7 +1305,7 @@ class LinkGeoTargeting * @var ?string $pw */ #[\JMS\Serializer\Annotation\SerializedName('PW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pw = null; /** @@ -1313,7 +1313,7 @@ class LinkGeoTargeting * @var ?string $ps */ #[\JMS\Serializer\Annotation\SerializedName('PS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ps = null; /** @@ -1321,7 +1321,7 @@ class LinkGeoTargeting * @var ?string $pa */ #[\JMS\Serializer\Annotation\SerializedName('PA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pa = null; /** @@ -1329,7 +1329,7 @@ class LinkGeoTargeting * @var ?string $pg */ #[\JMS\Serializer\Annotation\SerializedName('PG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pg = null; /** @@ -1337,7 +1337,7 @@ class LinkGeoTargeting * @var ?string $py */ #[\JMS\Serializer\Annotation\SerializedName('PY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $py = null; /** @@ -1345,7 +1345,7 @@ class LinkGeoTargeting * @var ?string $pe */ #[\JMS\Serializer\Annotation\SerializedName('PE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pe = null; /** @@ -1353,7 +1353,7 @@ class LinkGeoTargeting * @var ?string $ph */ #[\JMS\Serializer\Annotation\SerializedName('PH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ph = null; /** @@ -1361,7 +1361,7 @@ class LinkGeoTargeting * @var ?string $pn */ #[\JMS\Serializer\Annotation\SerializedName('PN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pn = null; /** @@ -1369,7 +1369,7 @@ class LinkGeoTargeting * @var ?string $pl */ #[\JMS\Serializer\Annotation\SerializedName('PL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pl = null; /** @@ -1377,7 +1377,7 @@ class LinkGeoTargeting * @var ?string $pt */ #[\JMS\Serializer\Annotation\SerializedName('PT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pt = null; /** @@ -1385,7 +1385,7 @@ class LinkGeoTargeting * @var ?string $pr */ #[\JMS\Serializer\Annotation\SerializedName('PR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pr = null; /** @@ -1393,7 +1393,7 @@ class LinkGeoTargeting * @var ?string $qa */ #[\JMS\Serializer\Annotation\SerializedName('QA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $qa = null; /** @@ -1401,7 +1401,7 @@ class LinkGeoTargeting * @var ?string $re */ #[\JMS\Serializer\Annotation\SerializedName('RE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $re = null; /** @@ -1409,7 +1409,7 @@ class LinkGeoTargeting * @var ?string $ro */ #[\JMS\Serializer\Annotation\SerializedName('RO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ro = null; /** @@ -1417,7 +1417,7 @@ class LinkGeoTargeting * @var ?string $ru */ #[\JMS\Serializer\Annotation\SerializedName('RU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ru = null; /** @@ -1425,7 +1425,7 @@ class LinkGeoTargeting * @var ?string $rw */ #[\JMS\Serializer\Annotation\SerializedName('RW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $rw = null; /** @@ -1433,7 +1433,7 @@ class LinkGeoTargeting * @var ?string $sh */ #[\JMS\Serializer\Annotation\SerializedName('SH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sh = null; /** @@ -1441,7 +1441,7 @@ class LinkGeoTargeting * @var ?string $kn */ #[\JMS\Serializer\Annotation\SerializedName('KN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $kn = null; /** @@ -1449,7 +1449,7 @@ class LinkGeoTargeting * @var ?string $lc */ #[\JMS\Serializer\Annotation\SerializedName('LC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lc = null; /** @@ -1457,7 +1457,7 @@ class LinkGeoTargeting * @var ?string $pm */ #[\JMS\Serializer\Annotation\SerializedName('PM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $pm = null; /** @@ -1465,7 +1465,7 @@ class LinkGeoTargeting * @var ?string $vc */ #[\JMS\Serializer\Annotation\SerializedName('VC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vc = null; /** @@ -1473,7 +1473,7 @@ class LinkGeoTargeting * @var ?string $ws */ #[\JMS\Serializer\Annotation\SerializedName('WS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ws = null; /** @@ -1481,7 +1481,7 @@ class LinkGeoTargeting * @var ?string $sm */ #[\JMS\Serializer\Annotation\SerializedName('SM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sm = null; /** @@ -1489,7 +1489,7 @@ class LinkGeoTargeting * @var ?string $st */ #[\JMS\Serializer\Annotation\SerializedName('ST')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $st = null; /** @@ -1497,7 +1497,7 @@ class LinkGeoTargeting * @var ?string $sa */ #[\JMS\Serializer\Annotation\SerializedName('SA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sa = null; /** @@ -1505,7 +1505,7 @@ class LinkGeoTargeting * @var ?string $sn */ #[\JMS\Serializer\Annotation\SerializedName('SN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sn = null; /** @@ -1513,7 +1513,7 @@ class LinkGeoTargeting * @var ?string $sc */ #[\JMS\Serializer\Annotation\SerializedName('SC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sc = null; /** @@ -1521,7 +1521,7 @@ class LinkGeoTargeting * @var ?string $sl */ #[\JMS\Serializer\Annotation\SerializedName('SL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sl = null; /** @@ -1529,7 +1529,7 @@ class LinkGeoTargeting * @var ?string $sg */ #[\JMS\Serializer\Annotation\SerializedName('SG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sg = null; /** @@ -1537,7 +1537,7 @@ class LinkGeoTargeting * @var ?string $sk */ #[\JMS\Serializer\Annotation\SerializedName('SK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sk = null; /** @@ -1545,7 +1545,7 @@ class LinkGeoTargeting * @var ?string $si */ #[\JMS\Serializer\Annotation\SerializedName('SI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $si = null; /** @@ -1553,7 +1553,7 @@ class LinkGeoTargeting * @var ?string $sb */ #[\JMS\Serializer\Annotation\SerializedName('SB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sb = null; /** @@ -1561,7 +1561,7 @@ class LinkGeoTargeting * @var ?string $so */ #[\JMS\Serializer\Annotation\SerializedName('SO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $so = null; /** @@ -1569,7 +1569,7 @@ class LinkGeoTargeting * @var ?string $za */ #[\JMS\Serializer\Annotation\SerializedName('ZA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $za = null; /** @@ -1577,7 +1577,7 @@ class LinkGeoTargeting * @var ?string $gs */ #[\JMS\Serializer\Annotation\SerializedName('GS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gs = null; /** @@ -1585,7 +1585,7 @@ class LinkGeoTargeting * @var ?string $es */ #[\JMS\Serializer\Annotation\SerializedName('ES')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $es = null; /** @@ -1593,7 +1593,7 @@ class LinkGeoTargeting * @var ?string $lk */ #[\JMS\Serializer\Annotation\SerializedName('LK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $lk = null; /** @@ -1601,7 +1601,7 @@ class LinkGeoTargeting * @var ?string $sd */ #[\JMS\Serializer\Annotation\SerializedName('SD')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sd = null; /** @@ -1609,7 +1609,7 @@ class LinkGeoTargeting * @var ?string $sr */ #[\JMS\Serializer\Annotation\SerializedName('SR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sr = null; /** @@ -1617,7 +1617,7 @@ class LinkGeoTargeting * @var ?string $sj */ #[\JMS\Serializer\Annotation\SerializedName('SJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sj = null; /** @@ -1625,7 +1625,7 @@ class LinkGeoTargeting * @var ?string $sz */ #[\JMS\Serializer\Annotation\SerializedName('SZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sz = null; /** @@ -1633,7 +1633,7 @@ class LinkGeoTargeting * @var ?string $se */ #[\JMS\Serializer\Annotation\SerializedName('SE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $se = null; /** @@ -1641,7 +1641,7 @@ class LinkGeoTargeting * @var ?string $ch */ #[\JMS\Serializer\Annotation\SerializedName('CH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ch = null; /** @@ -1649,7 +1649,7 @@ class LinkGeoTargeting * @var ?string $sy */ #[\JMS\Serializer\Annotation\SerializedName('SY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sy = null; /** @@ -1657,7 +1657,7 @@ class LinkGeoTargeting * @var ?string $tw */ #[\JMS\Serializer\Annotation\SerializedName('TW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tw = null; /** @@ -1665,7 +1665,7 @@ class LinkGeoTargeting * @var ?string $tj */ #[\JMS\Serializer\Annotation\SerializedName('TJ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tj = null; /** @@ -1673,7 +1673,7 @@ class LinkGeoTargeting * @var ?string $tz */ #[\JMS\Serializer\Annotation\SerializedName('TZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tz = null; /** @@ -1681,7 +1681,7 @@ class LinkGeoTargeting * @var ?string $th */ #[\JMS\Serializer\Annotation\SerializedName('TH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $th = null; /** @@ -1689,7 +1689,7 @@ class LinkGeoTargeting * @var ?string $tl */ #[\JMS\Serializer\Annotation\SerializedName('TL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tl = null; /** @@ -1697,7 +1697,7 @@ class LinkGeoTargeting * @var ?string $tg */ #[\JMS\Serializer\Annotation\SerializedName('TG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tg = null; /** @@ -1705,7 +1705,7 @@ class LinkGeoTargeting * @var ?string $tk */ #[\JMS\Serializer\Annotation\SerializedName('TK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tk = null; /** @@ -1713,7 +1713,7 @@ class LinkGeoTargeting * @var ?string $to */ #[\JMS\Serializer\Annotation\SerializedName('TO')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $to = null; /** @@ -1721,7 +1721,7 @@ class LinkGeoTargeting * @var ?string $tt */ #[\JMS\Serializer\Annotation\SerializedName('TT')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tt = null; /** @@ -1729,7 +1729,7 @@ class LinkGeoTargeting * @var ?string $tn */ #[\JMS\Serializer\Annotation\SerializedName('TN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tn = null; /** @@ -1737,7 +1737,7 @@ class LinkGeoTargeting * @var ?string $tr */ #[\JMS\Serializer\Annotation\SerializedName('TR')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tr = null; /** @@ -1745,7 +1745,7 @@ class LinkGeoTargeting * @var ?string $tm */ #[\JMS\Serializer\Annotation\SerializedName('TM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tm = null; /** @@ -1753,7 +1753,7 @@ class LinkGeoTargeting * @var ?string $tc */ #[\JMS\Serializer\Annotation\SerializedName('TC')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tc = null; /** @@ -1761,7 +1761,7 @@ class LinkGeoTargeting * @var ?string $tv */ #[\JMS\Serializer\Annotation\SerializedName('TV')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tv = null; /** @@ -1769,7 +1769,7 @@ class LinkGeoTargeting * @var ?string $ug */ #[\JMS\Serializer\Annotation\SerializedName('UG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ug = null; /** @@ -1777,7 +1777,7 @@ class LinkGeoTargeting * @var ?string $ua */ #[\JMS\Serializer\Annotation\SerializedName('UA')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ua = null; /** @@ -1785,7 +1785,7 @@ class LinkGeoTargeting * @var ?string $ae */ #[\JMS\Serializer\Annotation\SerializedName('AE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ae = null; /** @@ -1793,7 +1793,7 @@ class LinkGeoTargeting * @var ?string $gb */ #[\JMS\Serializer\Annotation\SerializedName('GB')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gb = null; /** @@ -1801,7 +1801,7 @@ class LinkGeoTargeting * @var ?string $us */ #[\JMS\Serializer\Annotation\SerializedName('US')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $us = null; /** @@ -1809,7 +1809,7 @@ class LinkGeoTargeting * @var ?string $um */ #[\JMS\Serializer\Annotation\SerializedName('UM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $um = null; /** @@ -1817,7 +1817,7 @@ class LinkGeoTargeting * @var ?string $uy */ #[\JMS\Serializer\Annotation\SerializedName('UY')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $uy = null; /** @@ -1825,7 +1825,7 @@ class LinkGeoTargeting * @var ?string $uz */ #[\JMS\Serializer\Annotation\SerializedName('UZ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $uz = null; /** @@ -1833,7 +1833,7 @@ class LinkGeoTargeting * @var ?string $vu */ #[\JMS\Serializer\Annotation\SerializedName('VU')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vu = null; /** @@ -1841,7 +1841,7 @@ class LinkGeoTargeting * @var ?string $ve */ #[\JMS\Serializer\Annotation\SerializedName('VE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ve = null; /** @@ -1849,7 +1849,7 @@ class LinkGeoTargeting * @var ?string $vn */ #[\JMS\Serializer\Annotation\SerializedName('VN')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vn = null; /** @@ -1857,7 +1857,7 @@ class LinkGeoTargeting * @var ?string $vg */ #[\JMS\Serializer\Annotation\SerializedName('VG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vg = null; /** @@ -1865,7 +1865,7 @@ class LinkGeoTargeting * @var ?string $vi */ #[\JMS\Serializer\Annotation\SerializedName('VI')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $vi = null; /** @@ -1873,7 +1873,7 @@ class LinkGeoTargeting * @var ?string $wf */ #[\JMS\Serializer\Annotation\SerializedName('WF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $wf = null; /** @@ -1881,7 +1881,7 @@ class LinkGeoTargeting * @var ?string $eh */ #[\JMS\Serializer\Annotation\SerializedName('EH')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $eh = null; /** @@ -1889,7 +1889,7 @@ class LinkGeoTargeting * @var ?string $ye */ #[\JMS\Serializer\Annotation\SerializedName('YE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ye = null; /** @@ -1897,7 +1897,7 @@ class LinkGeoTargeting * @var ?string $zm */ #[\JMS\Serializer\Annotation\SerializedName('ZM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $zm = null; /** @@ -1905,7 +1905,7 @@ class LinkGeoTargeting * @var ?string $zw */ #[\JMS\Serializer\Annotation\SerializedName('ZW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $zw = null; /** @@ -1913,7 +1913,7 @@ class LinkGeoTargeting * @var ?string $ax */ #[\JMS\Serializer\Annotation\SerializedName('AX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ax = null; /** @@ -1921,7 +1921,7 @@ class LinkGeoTargeting * @var ?string $bq */ #[\JMS\Serializer\Annotation\SerializedName('BQ')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bq = null; /** @@ -1929,7 +1929,7 @@ class LinkGeoTargeting * @var ?string $cw */ #[\JMS\Serializer\Annotation\SerializedName('CW')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $cw = null; /** @@ -1937,7 +1937,7 @@ class LinkGeoTargeting * @var ?string $gg */ #[\JMS\Serializer\Annotation\SerializedName('GG')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $gg = null; /** @@ -1945,7 +1945,7 @@ class LinkGeoTargeting * @var ?string $im */ #[\JMS\Serializer\Annotation\SerializedName('IM')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $im = null; /** @@ -1953,7 +1953,7 @@ class LinkGeoTargeting * @var ?string $je */ #[\JMS\Serializer\Annotation\SerializedName('JE')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $je = null; /** @@ -1961,7 +1961,7 @@ class LinkGeoTargeting * @var ?string $me */ #[\JMS\Serializer\Annotation\SerializedName('ME')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $me = null; /** @@ -1969,7 +1969,7 @@ class LinkGeoTargeting * @var ?string $bl */ #[\JMS\Serializer\Annotation\SerializedName('BL')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $bl = null; /** @@ -1977,7 +1977,7 @@ class LinkGeoTargeting * @var ?string $mf */ #[\JMS\Serializer\Annotation\SerializedName('MF')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $mf = null; /** @@ -1985,7 +1985,7 @@ class LinkGeoTargeting * @var ?string $rs */ #[\JMS\Serializer\Annotation\SerializedName('RS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $rs = null; /** @@ -1993,7 +1993,7 @@ class LinkGeoTargeting * @var ?string $sx */ #[\JMS\Serializer\Annotation\SerializedName('SX')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $sx = null; /** @@ -2001,7 +2001,7 @@ class LinkGeoTargeting * @var ?string $ss */ #[\JMS\Serializer\Annotation\SerializedName('SS')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ss = null; /** @@ -2009,7 +2009,7 @@ class LinkGeoTargeting * @var ?string $xk */ #[\JMS\Serializer\Annotation\SerializedName('XK')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $xk = null; /** diff --git a/src/Models/Components/LinkSchema.php b/src/Models/Components/LinkSchema.php index 2648e44..f58e324 100644 --- a/src/Models/Components/LinkSchema.php +++ b/src/Models/Components/LinkSchema.php @@ -38,10 +38,10 @@ class LinkSchema /** * This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with 'ext_' when passed as a query parameter. * - * @var string $externalId + * @var ?string $externalId */ #[\JMS\Serializer\Annotation\SerializedName('externalId')] - public string $externalId; + public ?string $externalId; /** * The destination URL of the short link. @@ -70,26 +70,26 @@ class LinkSchema /** * The date and time when the short link will expire in ISO-8601 format. * - * @var string $expiresAt + * @var ?string $expiresAt */ #[\JMS\Serializer\Annotation\SerializedName('expiresAt')] - public string $expiresAt; + public ?string $expiresAt; /** * The URL to redirect to when the short link has expired. * - * @var string $expiredUrl + * @var ?string $expiredUrl */ #[\JMS\Serializer\Annotation\SerializedName('expiredUrl')] - public string $expiredUrl; + public ?string $expiredUrl; /** * The password required to access the destination URL of the short link. * - * @var string $password + * @var ?string $password */ #[\JMS\Serializer\Annotation\SerializedName('password')] - public string $password; + public ?string $password; /** * Whether the short link uses Custom Social Media Cards feature. @@ -102,34 +102,34 @@ class LinkSchema /** * The title of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. * - * @var string $title + * @var ?string $title */ #[\JMS\Serializer\Annotation\SerializedName('title')] - public string $title; + public ?string $title; /** * The description of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. * - * @var string $description + * @var ?string $description */ #[\JMS\Serializer\Annotation\SerializedName('description')] - public string $description; + public ?string $description; /** * The image of the short link generated via `api.dub.co/metatags`. Will be used for Custom Social Media Cards if `proxy` is true. * - * @var string $image + * @var ?string $image */ #[\JMS\Serializer\Annotation\SerializedName('image')] - public string $image; + public ?string $image; /** * The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og * - * @var string $video + * @var ?string $video */ #[\JMS\Serializer\Annotation\SerializedName('video')] - public string $video; + public ?string $video; /** * Whether the short link uses link cloaking. @@ -150,27 +150,27 @@ class LinkSchema /** * The iOS destination URL for the short link for iOS device targeting. * - * @var string $ios + * @var ?string $ios */ #[\JMS\Serializer\Annotation\SerializedName('ios')] - public string $ios; + public ?string $ios; /** * The Android destination URL for the short link for Android device targeting. * - * @var string $android + * @var ?string $android */ #[\JMS\Serializer\Annotation\SerializedName('android')] - public string $android; + public ?string $android; /** * Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://d.to/geo * - * @var Geo $geo + * @var ?Geo $geo */ #[\JMS\Serializer\Annotation\SerializedName('geo')] - #[\JMS\Serializer\Annotation\Type('\Dub\Models\Components\Geo')] - public Geo $geo; + #[\JMS\Serializer\Annotation\Type('\Dub\Models\Components\Geo|null')] + public ?Geo $geo; /** * Whether the short link's stats are publicly accessible. @@ -183,28 +183,28 @@ class LinkSchema /** * The unique ID of the tag assigned to the short link. This field is deprecated – use `tags` instead. * - * @var string $tagId + * @var ?string $tagId * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ #[\JMS\Serializer\Annotation\SerializedName('tagId')] - public string $tagId; + public ?string $tagId; /** * The tags assigned to the short link. * - * @var array $tags + * @var ?array $tags */ #[\JMS\Serializer\Annotation\SerializedName('tags')] - #[\JMS\Serializer\Annotation\Type('array<\Dub\Models\Components\TagSchema>')] - public array $tags; + #[\JMS\Serializer\Annotation\Type('array<\Dub\Models\Components\TagSchema>|null')] + public ?array $tags; /** * The comments for the short link. * - * @var string $comments + * @var ?string $comments */ #[\JMS\Serializer\Annotation\SerializedName('comments')] - public string $comments; + public ?string $comments; /** * The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`). @@ -225,42 +225,42 @@ class LinkSchema /** * The UTM source of the short link. * - * @var string $utmSource + * @var ?string $utmSource */ #[\JMS\Serializer\Annotation\SerializedName('utm_source')] - public string $utmSource; + public ?string $utmSource; /** * The UTM medium of the short link. * - * @var string $utmMedium + * @var ?string $utmMedium */ #[\JMS\Serializer\Annotation\SerializedName('utm_medium')] - public string $utmMedium; + public ?string $utmMedium; /** * The UTM campaign of the short link. * - * @var string $utmCampaign + * @var ?string $utmCampaign */ #[\JMS\Serializer\Annotation\SerializedName('utm_campaign')] - public string $utmCampaign; + public ?string $utmCampaign; /** * The UTM term of the short link. * - * @var string $utmTerm + * @var ?string $utmTerm */ #[\JMS\Serializer\Annotation\SerializedName('utm_term')] - public string $utmTerm; + public ?string $utmTerm; /** * The UTM content of the short link. * - * @var string $utmContent + * @var ?string $utmContent */ #[\JMS\Serializer\Annotation\SerializedName('utm_content')] - public string $utmContent; + public ?string $utmContent; /** * The user ID of the creator of the short link. @@ -289,10 +289,10 @@ class LinkSchema /** * The date and time when the short link was last clicked. * - * @var string $lastClicked + * @var ?string $lastClicked */ #[\JMS\Serializer\Annotation\SerializedName('lastClicked')] - public string $lastClicked; + public ?string $lastClicked; /** * [BETA]: The number of leads the short links has generated. @@ -344,90 +344,90 @@ class LinkSchema public string $projectId; /** - * @param ?string $id - * @param ?string $domain - * @param ?string $key + * @param string $id + * @param string $domain + * @param string $key + * @param string $url + * @param bool $trackConversion + * @param bool $archived + * @param bool $proxy + * @param bool $rewrite + * @param bool $doIndex + * @param bool $publicStats + * @param string $shortLink + * @param string $qrCode + * @param string $userId + * @param string $workspaceId + * @param float $clicks + * @param float $leads + * @param float $sales + * @param float $saleAmount + * @param string $createdAt + * @param string $updatedAt + * @param string $projectId * @param ?string $externalId - * @param ?string $url - * @param ?bool $trackConversion - * @param ?bool $archived * @param ?string $expiresAt * @param ?string $expiredUrl * @param ?string $password - * @param ?bool $proxy * @param ?string $title * @param ?string $description * @param ?string $image * @param ?string $video - * @param ?bool $rewrite - * @param ?bool $doIndex * @param ?string $ios * @param ?string $android * @param ?Geo $geo - * @param ?bool $publicStats * @param ?string $tagId * @param ?array $tags * @param ?string $comments - * @param ?string $shortLink - * @param ?string $qrCode * @param ?string $utmSource * @param ?string $utmMedium * @param ?string $utmCampaign * @param ?string $utmTerm * @param ?string $utmContent - * @param ?string $userId - * @param ?string $workspaceId - * @param ?float $clicks * @param ?string $lastClicked - * @param ?float $leads - * @param ?float $sales - * @param ?float $saleAmount - * @param ?string $createdAt - * @param ?string $updatedAt - * @param ?string $projectId - */ - public function __construct(?string $id = null, ?string $domain = null, ?string $key = null, ?string $externalId = null, ?string $url = null, ?bool $trackConversion = null, ?bool $archived = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?bool $proxy = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?bool $rewrite = null, ?bool $doIndex = null, ?string $ios = null, ?string $android = null, ?Geo $geo = null, ?bool $publicStats = null, ?string $tagId = null, ?array $tags = null, ?string $comments = null, ?string $shortLink = null, ?string $qrCode = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null, ?string $userId = null, ?string $workspaceId = null, ?float $clicks = null, ?string $lastClicked = null, ?float $leads = null, ?float $sales = null, ?float $saleAmount = null, ?string $createdAt = null, ?string $updatedAt = null, ?string $projectId = null) + */ + public function __construct(string $id, string $domain, string $key, string $url, bool $trackConversion, bool $archived, bool $proxy, bool $rewrite, bool $doIndex, bool $publicStats, string $shortLink, string $qrCode, string $userId, string $workspaceId, float $clicks, float $leads, float $sales, float $saleAmount, string $createdAt, string $updatedAt, string $projectId, ?string $externalId = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?string $ios = null, ?string $android = null, ?Geo $geo = null, ?string $tagId = null, ?array $tags = null, ?string $comments = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null, ?string $lastClicked = null) { $this->id = $id; $this->domain = $domain; $this->key = $key; - $this->externalId = $externalId; $this->url = $url; $this->trackConversion = $trackConversion; $this->archived = $archived; + $this->proxy = $proxy; + $this->rewrite = $rewrite; + $this->doIndex = $doIndex; + $this->publicStats = $publicStats; + $this->shortLink = $shortLink; + $this->qrCode = $qrCode; + $this->userId = $userId; + $this->workspaceId = $workspaceId; + $this->clicks = $clicks; + $this->leads = $leads; + $this->sales = $sales; + $this->saleAmount = $saleAmount; + $this->createdAt = $createdAt; + $this->updatedAt = $updatedAt; + $this->projectId = $projectId; + $this->externalId = $externalId; $this->expiresAt = $expiresAt; $this->expiredUrl = $expiredUrl; $this->password = $password; - $this->proxy = $proxy; $this->title = $title; $this->description = $description; $this->image = $image; $this->video = $video; - $this->rewrite = $rewrite; - $this->doIndex = $doIndex; $this->ios = $ios; $this->android = $android; $this->geo = $geo; - $this->publicStats = $publicStats; $this->tagId = $tagId; $this->tags = $tags; $this->comments = $comments; - $this->shortLink = $shortLink; - $this->qrCode = $qrCode; $this->utmSource = $utmSource; $this->utmMedium = $utmMedium; $this->utmCampaign = $utmCampaign; $this->utmTerm = $utmTerm; $this->utmContent = $utmContent; - $this->userId = $userId; - $this->workspaceId = $workspaceId; - $this->clicks = $clicks; $this->lastClicked = $lastClicked; - $this->leads = $leads; - $this->sales = $sales; - $this->saleAmount = $saleAmount; - $this->createdAt = $createdAt; - $this->updatedAt = $updatedAt; - $this->projectId = $projectId; } } \ No newline at end of file diff --git a/src/Models/Components/Security.php b/src/Models/Components/Security.php index 6dfa20a..58ca2a0 100644 --- a/src/Models/Components/Security.php +++ b/src/Models/Components/Security.php @@ -19,9 +19,9 @@ class Security public string $token; /** - * @param ?string $token + * @param string $token */ - public function __construct(?string $token = null) + public function __construct(string $token) { $this->token = $token; } diff --git a/src/Models/Components/TagSchema.php b/src/Models/Components/TagSchema.php index eeb728e..1fe0443 100644 --- a/src/Models/Components/TagSchema.php +++ b/src/Models/Components/TagSchema.php @@ -37,11 +37,11 @@ class TagSchema public Color $color; /** - * @param ?string $id - * @param ?string $name - * @param ?Color $color + * @param string $id + * @param string $name + * @param Color $color */ - public function __construct(?string $id = null, ?string $name = null, ?Color $color = null) + public function __construct(string $id, string $name, Color $color) { $this->id = $id; $this->name = $name; diff --git a/src/Models/Components/Users.php b/src/Models/Components/Users.php index 726b372..75e281c 100644 --- a/src/Models/Components/Users.php +++ b/src/Models/Components/Users.php @@ -21,9 +21,9 @@ class Users public Role $role; /** - * @param ?Role $role + * @param Role $role */ - public function __construct(?Role $role = null) + public function __construct(Role $role) { $this->role = $role; } diff --git a/src/Models/Components/WorkspaceSchema.php b/src/Models/Components/WorkspaceSchema.php index fc07660..8140389 100644 --- a/src/Models/Components/WorkspaceSchema.php +++ b/src/Models/Components/WorkspaceSchema.php @@ -38,10 +38,10 @@ class WorkspaceSchema /** * The logo of the workspace. * - * @var string $logo + * @var ?string $logo */ #[\JMS\Serializer\Annotation\SerializedName('logo')] - public string $logo; + public ?string $logo; /** * The plan of the workspace. @@ -55,10 +55,10 @@ class WorkspaceSchema /** * The Stripe ID of the workspace. * - * @var string $stripeId + * @var ?string $stripeId */ #[\JMS\Serializer\Annotation\SerializedName('stripeId')] - public string $stripeId; + public ?string $stripeId; /** * The date and time when the billing cycle starts for the workspace. @@ -71,18 +71,18 @@ class WorkspaceSchema /** * [BETA]: The Stripe Connect ID of the workspace. * - * @var string $stripeConnectId + * @var ?string $stripeConnectId */ #[\JMS\Serializer\Annotation\SerializedName('stripeConnectId')] - public string $stripeConnectId; + public ?string $stripeConnectId; /** * The invite code of the workspace. * - * @var string $inviteCode + * @var ?string $inviteCode */ #[\JMS\Serializer\Annotation\SerializedName('inviteCode')] - public string $inviteCode; + public ?string $inviteCode; /** * The usage of the workspace. @@ -175,10 +175,10 @@ class WorkspaceSchema /** * The ID of the referral link of the workspace. * - * @var string $referralLinkId + * @var ?string $referralLinkId */ #[\JMS\Serializer\Annotation\SerializedName('referralLinkId')] - public string $referralLinkId; + public ?string $referralLinkId; /** * Whether the workspace has conversion tracking enabled (d.to/conversions). @@ -221,48 +221,44 @@ class WorkspaceSchema */ #[\JMS\Serializer\Annotation\SerializedName('flags')] #[\JMS\Serializer\Annotation\Type('array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?array $flags = null; /** - * @param ?string $id - * @param ?string $name - * @param ?string $slug + * @param string $id + * @param string $name + * @param string $slug + * @param Plan $plan + * @param float $billingCycleStart + * @param float $usage + * @param float $usageLimit + * @param float $linksUsage + * @param float $linksLimit + * @param float $salesUsage + * @param float $salesLimit + * @param float $domainsLimit + * @param float $tagsLimit + * @param float $usersLimit + * @param float $aiUsage + * @param float $aiLimit + * @param bool $conversionEnabled + * @param string $createdAt + * @param array $users + * @param array $domains * @param ?string $logo - * @param ?Plan $plan * @param ?string $stripeId - * @param ?float $billingCycleStart * @param ?string $stripeConnectId * @param ?string $inviteCode - * @param ?float $usage - * @param ?float $usageLimit - * @param ?float $linksUsage - * @param ?float $linksLimit - * @param ?float $salesUsage - * @param ?float $salesLimit - * @param ?float $domainsLimit - * @param ?float $tagsLimit - * @param ?float $usersLimit - * @param ?float $aiUsage - * @param ?float $aiLimit * @param ?string $referralLinkId - * @param ?bool $conversionEnabled - * @param ?string $createdAt - * @param ?array $users - * @param ?array $domains * @param ?array $flags */ - public function __construct(?string $id = null, ?string $name = null, ?string $slug = null, ?string $logo = null, ?Plan $plan = null, ?string $stripeId = null, ?float $billingCycleStart = null, ?string $stripeConnectId = null, ?string $inviteCode = null, ?float $usage = null, ?float $usageLimit = null, ?float $linksUsage = null, ?float $linksLimit = null, ?float $salesUsage = null, ?float $salesLimit = null, ?float $domainsLimit = null, ?float $tagsLimit = null, ?float $usersLimit = null, ?float $aiUsage = null, ?float $aiLimit = null, ?string $referralLinkId = null, ?bool $conversionEnabled = null, ?string $createdAt = null, ?array $users = null, ?array $domains = null, ?array $flags = null) + public function __construct(string $id, string $name, string $slug, Plan $plan, float $billingCycleStart, float $usage, float $usageLimit, float $linksUsage, float $linksLimit, float $salesUsage, float $salesLimit, float $domainsLimit, float $tagsLimit, float $usersLimit, float $aiUsage, float $aiLimit, bool $conversionEnabled, string $createdAt, array $users, array $domains, ?string $logo = null, ?string $stripeId = null, ?string $stripeConnectId = null, ?string $inviteCode = null, ?string $referralLinkId = null, ?array $flags = null) { $this->id = $id; $this->name = $name; $this->slug = $slug; - $this->logo = $logo; $this->plan = $plan; - $this->stripeId = $stripeId; $this->billingCycleStart = $billingCycleStart; - $this->stripeConnectId = $stripeConnectId; - $this->inviteCode = $inviteCode; $this->usage = $usage; $this->usageLimit = $usageLimit; $this->linksUsage = $linksUsage; @@ -274,11 +270,15 @@ public function __construct(?string $id = null, ?string $name = null, ?string $s $this->usersLimit = $usersLimit; $this->aiUsage = $aiUsage; $this->aiLimit = $aiLimit; - $this->referralLinkId = $referralLinkId; $this->conversionEnabled = $conversionEnabled; $this->createdAt = $createdAt; $this->users = $users; $this->domains = $domains; + $this->logo = $logo; + $this->stripeId = $stripeId; + $this->stripeConnectId = $stripeConnectId; + $this->inviteCode = $inviteCode; + $this->referralLinkId = $referralLinkId; $this->flags = $flags; } } \ No newline at end of file diff --git a/src/Models/Errors/BadRequest.php b/src/Models/Errors/BadRequest.php index f3b6892..69a32d7 100644 --- a/src/Models/Errors/BadRequest.php +++ b/src/Models/Errors/BadRequest.php @@ -22,9 +22,9 @@ class BadRequest public Error $error; /** - * @param ?Error $error + * @param Error $error */ - public function __construct(?Error $error = null) + public function __construct(Error $error) { $this->error = $error; } diff --git a/src/Models/Errors/Conflict.php b/src/Models/Errors/Conflict.php index aee006f..1ea97df 100644 --- a/src/Models/Errors/Conflict.php +++ b/src/Models/Errors/Conflict.php @@ -22,9 +22,9 @@ class Conflict public ConflictError $error; /** - * @param ?ConflictError $error + * @param ConflictError $error */ - public function __construct(?ConflictError $error = null) + public function __construct(ConflictError $error) { $this->error = $error; } diff --git a/src/Models/Errors/ConflictError.php b/src/Models/Errors/ConflictError.php index c7a9d52..505a86b 100644 --- a/src/Models/Errors/ConflictError.php +++ b/src/Models/Errors/ConflictError.php @@ -34,15 +34,15 @@ class ConflictError * @var ?string $docUrl */ #[\JMS\Serializer\Annotation\SerializedName('doc_url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $docUrl = null; /** - * @param ?ConflictCode $code - * @param ?string $message + * @param ConflictCode $code + * @param string $message * @param ?string $docUrl */ - public function __construct(?ConflictCode $code = null, ?string $message = null, ?string $docUrl = null) + public function __construct(ConflictCode $code, string $message, ?string $docUrl = null) { $this->code = $code; $this->message = $message; diff --git a/src/Models/Errors/Error.php b/src/Models/Errors/Error.php index 6e2d63f..cf49c07 100644 --- a/src/Models/Errors/Error.php +++ b/src/Models/Errors/Error.php @@ -34,15 +34,15 @@ class Error * @var ?string $docUrl */ #[\JMS\Serializer\Annotation\SerializedName('doc_url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $docUrl = null; /** - * @param ?Code $code - * @param ?string $message + * @param Code $code + * @param string $message * @param ?string $docUrl */ - public function __construct(?Code $code = null, ?string $message = null, ?string $docUrl = null) + public function __construct(Code $code, string $message, ?string $docUrl = null) { $this->code = $code; $this->message = $message; diff --git a/src/Models/Errors/Forbidden.php b/src/Models/Errors/Forbidden.php index a43ece8..87ea57a 100644 --- a/src/Models/Errors/Forbidden.php +++ b/src/Models/Errors/Forbidden.php @@ -22,9 +22,9 @@ class Forbidden public ForbiddenError $error; /** - * @param ?ForbiddenError $error + * @param ForbiddenError $error */ - public function __construct(?ForbiddenError $error = null) + public function __construct(ForbiddenError $error) { $this->error = $error; } diff --git a/src/Models/Errors/ForbiddenError.php b/src/Models/Errors/ForbiddenError.php index c5f7528..8113542 100644 --- a/src/Models/Errors/ForbiddenError.php +++ b/src/Models/Errors/ForbiddenError.php @@ -34,15 +34,15 @@ class ForbiddenError * @var ?string $docUrl */ #[\JMS\Serializer\Annotation\SerializedName('doc_url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $docUrl = null; /** - * @param ?ForbiddenCode $code - * @param ?string $message + * @param ForbiddenCode $code + * @param string $message * @param ?string $docUrl */ - public function __construct(?ForbiddenCode $code = null, ?string $message = null, ?string $docUrl = null) + public function __construct(ForbiddenCode $code, string $message, ?string $docUrl = null) { $this->code = $code; $this->message = $message; diff --git a/src/Models/Errors/InternalServerError.php b/src/Models/Errors/InternalServerError.php index f4d3cc7..3e30086 100644 --- a/src/Models/Errors/InternalServerError.php +++ b/src/Models/Errors/InternalServerError.php @@ -22,9 +22,9 @@ class InternalServerError public InternalServerErrorError $error; /** - * @param ?InternalServerErrorError $error + * @param InternalServerErrorError $error */ - public function __construct(?InternalServerErrorError $error = null) + public function __construct(InternalServerErrorError $error) { $this->error = $error; } diff --git a/src/Models/Errors/InternalServerErrorError.php b/src/Models/Errors/InternalServerErrorError.php index 9b58667..320306a 100644 --- a/src/Models/Errors/InternalServerErrorError.php +++ b/src/Models/Errors/InternalServerErrorError.php @@ -34,15 +34,15 @@ class InternalServerErrorError * @var ?string $docUrl */ #[\JMS\Serializer\Annotation\SerializedName('doc_url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $docUrl = null; /** - * @param ?InternalServerErrorCode $code - * @param ?string $message + * @param InternalServerErrorCode $code + * @param string $message * @param ?string $docUrl */ - public function __construct(?InternalServerErrorCode $code = null, ?string $message = null, ?string $docUrl = null) + public function __construct(InternalServerErrorCode $code, string $message, ?string $docUrl = null) { $this->code = $code; $this->message = $message; diff --git a/src/Models/Errors/InviteExpired.php b/src/Models/Errors/InviteExpired.php index 404e9bc..cda63b0 100644 --- a/src/Models/Errors/InviteExpired.php +++ b/src/Models/Errors/InviteExpired.php @@ -22,9 +22,9 @@ class InviteExpired public InviteExpiredError $error; /** - * @param ?InviteExpiredError $error + * @param InviteExpiredError $error */ - public function __construct(?InviteExpiredError $error = null) + public function __construct(InviteExpiredError $error) { $this->error = $error; } diff --git a/src/Models/Errors/InviteExpiredError.php b/src/Models/Errors/InviteExpiredError.php index 1ef9efa..7de08cc 100644 --- a/src/Models/Errors/InviteExpiredError.php +++ b/src/Models/Errors/InviteExpiredError.php @@ -34,15 +34,15 @@ class InviteExpiredError * @var ?string $docUrl */ #[\JMS\Serializer\Annotation\SerializedName('doc_url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $docUrl = null; /** - * @param ?InviteExpiredCode $code - * @param ?string $message + * @param InviteExpiredCode $code + * @param string $message * @param ?string $docUrl */ - public function __construct(?InviteExpiredCode $code = null, ?string $message = null, ?string $docUrl = null) + public function __construct(InviteExpiredCode $code, string $message, ?string $docUrl = null) { $this->code = $code; $this->message = $message; diff --git a/src/Models/Errors/NotFound.php b/src/Models/Errors/NotFound.php index b64e8c9..0884319 100644 --- a/src/Models/Errors/NotFound.php +++ b/src/Models/Errors/NotFound.php @@ -22,9 +22,9 @@ class NotFound public NotFoundError $error; /** - * @param ?NotFoundError $error + * @param NotFoundError $error */ - public function __construct(?NotFoundError $error = null) + public function __construct(NotFoundError $error) { $this->error = $error; } diff --git a/src/Models/Errors/NotFoundError.php b/src/Models/Errors/NotFoundError.php index eb4c97b..6c6ac33 100644 --- a/src/Models/Errors/NotFoundError.php +++ b/src/Models/Errors/NotFoundError.php @@ -34,15 +34,15 @@ class NotFoundError * @var ?string $docUrl */ #[\JMS\Serializer\Annotation\SerializedName('doc_url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $docUrl = null; /** - * @param ?NotFoundCode $code - * @param ?string $message + * @param NotFoundCode $code + * @param string $message * @param ?string $docUrl */ - public function __construct(?NotFoundCode $code = null, ?string $message = null, ?string $docUrl = null) + public function __construct(NotFoundCode $code, string $message, ?string $docUrl = null) { $this->code = $code; $this->message = $message; diff --git a/src/Models/Errors/RateLimitExceeded.php b/src/Models/Errors/RateLimitExceeded.php index a1ee3fd..5fcd54d 100644 --- a/src/Models/Errors/RateLimitExceeded.php +++ b/src/Models/Errors/RateLimitExceeded.php @@ -22,9 +22,9 @@ class RateLimitExceeded public RateLimitExceededError $error; /** - * @param ?RateLimitExceededError $error + * @param RateLimitExceededError $error */ - public function __construct(?RateLimitExceededError $error = null) + public function __construct(RateLimitExceededError $error) { $this->error = $error; } diff --git a/src/Models/Errors/RateLimitExceededError.php b/src/Models/Errors/RateLimitExceededError.php index e2661f8..5b12e3f 100644 --- a/src/Models/Errors/RateLimitExceededError.php +++ b/src/Models/Errors/RateLimitExceededError.php @@ -34,15 +34,15 @@ class RateLimitExceededError * @var ?string $docUrl */ #[\JMS\Serializer\Annotation\SerializedName('doc_url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $docUrl = null; /** - * @param ?RateLimitExceededCode $code - * @param ?string $message + * @param RateLimitExceededCode $code + * @param string $message * @param ?string $docUrl */ - public function __construct(?RateLimitExceededCode $code = null, ?string $message = null, ?string $docUrl = null) + public function __construct(RateLimitExceededCode $code, string $message, ?string $docUrl = null) { $this->code = $code; $this->message = $message; diff --git a/src/Models/Errors/Unauthorized.php b/src/Models/Errors/Unauthorized.php index 4b6f800..45e7097 100644 --- a/src/Models/Errors/Unauthorized.php +++ b/src/Models/Errors/Unauthorized.php @@ -22,9 +22,9 @@ class Unauthorized public UnauthorizedError $error; /** - * @param ?UnauthorizedError $error + * @param UnauthorizedError $error */ - public function __construct(?UnauthorizedError $error = null) + public function __construct(UnauthorizedError $error) { $this->error = $error; } diff --git a/src/Models/Errors/UnauthorizedError.php b/src/Models/Errors/UnauthorizedError.php index d0ffea5..6e84d1e 100644 --- a/src/Models/Errors/UnauthorizedError.php +++ b/src/Models/Errors/UnauthorizedError.php @@ -34,15 +34,15 @@ class UnauthorizedError * @var ?string $docUrl */ #[\JMS\Serializer\Annotation\SerializedName('doc_url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $docUrl = null; /** - * @param ?UnauthorizedCode $code - * @param ?string $message + * @param UnauthorizedCode $code + * @param string $message * @param ?string $docUrl */ - public function __construct(?UnauthorizedCode $code = null, ?string $message = null, ?string $docUrl = null) + public function __construct(UnauthorizedCode $code, string $message, ?string $docUrl = null) { $this->code = $code; $this->message = $message; diff --git a/src/Models/Errors/UnprocessableEntity.php b/src/Models/Errors/UnprocessableEntity.php index 3b7bcbf..bfe7bab 100644 --- a/src/Models/Errors/UnprocessableEntity.php +++ b/src/Models/Errors/UnprocessableEntity.php @@ -22,9 +22,9 @@ class UnprocessableEntity public UnprocessableEntityError $error; /** - * @param ?UnprocessableEntityError $error + * @param UnprocessableEntityError $error */ - public function __construct(?UnprocessableEntityError $error = null) + public function __construct(UnprocessableEntityError $error) { $this->error = $error; } diff --git a/src/Models/Errors/UnprocessableEntityError.php b/src/Models/Errors/UnprocessableEntityError.php index fb0fd0d..9ee9bd7 100644 --- a/src/Models/Errors/UnprocessableEntityError.php +++ b/src/Models/Errors/UnprocessableEntityError.php @@ -34,15 +34,15 @@ class UnprocessableEntityError * @var ?string $docUrl */ #[\JMS\Serializer\Annotation\SerializedName('doc_url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $docUrl = null; /** - * @param ?UnprocessableEntityCode $code - * @param ?string $message + * @param UnprocessableEntityCode $code + * @param string $message * @param ?string $docUrl */ - public function __construct(?UnprocessableEntityCode $code = null, ?string $message = null, ?string $docUrl = null) + public function __construct(UnprocessableEntityCode $code, string $message, ?string $docUrl = null) { $this->code = $code; $this->message = $message; diff --git a/src/Models/Operations/BulkCreateLinksResponse.php b/src/Models/Operations/BulkCreateLinksResponse.php index 39eed46..f15eb20 100644 --- a/src/Models/Operations/BulkCreateLinksResponse.php +++ b/src/Models/Operations/BulkCreateLinksResponse.php @@ -40,12 +40,12 @@ class BulkCreateLinksResponse public ?array $linkSchemas = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?array $linkSchemas */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?array $linkSchemas = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?array $linkSchemas = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/BulkDeleteLinksRequest.php b/src/Models/Operations/BulkDeleteLinksRequest.php index 261cbd2..5f87899 100644 --- a/src/Models/Operations/BulkDeleteLinksRequest.php +++ b/src/Models/Operations/BulkDeleteLinksRequest.php @@ -20,9 +20,9 @@ class BulkDeleteLinksRequest public array $linkIds; /** - * @param ?array $linkIds + * @param array $linkIds */ - public function __construct(?array $linkIds = null) + public function __construct(array $linkIds) { $this->linkIds = $linkIds; } diff --git a/src/Models/Operations/BulkDeleteLinksResponse.php b/src/Models/Operations/BulkDeleteLinksResponse.php index 519c9f4..5f44766 100644 --- a/src/Models/Operations/BulkDeleteLinksResponse.php +++ b/src/Models/Operations/BulkDeleteLinksResponse.php @@ -40,12 +40,12 @@ class BulkDeleteLinksResponse public ?BulkDeleteLinksResponseBody $object = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?BulkDeleteLinksResponseBody $object */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?BulkDeleteLinksResponseBody $object = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?BulkDeleteLinksResponseBody $object = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/BulkDeleteLinksResponseBody.php b/src/Models/Operations/BulkDeleteLinksResponseBody.php index d87436c..3544726 100644 --- a/src/Models/Operations/BulkDeleteLinksResponseBody.php +++ b/src/Models/Operations/BulkDeleteLinksResponseBody.php @@ -21,9 +21,9 @@ class BulkDeleteLinksResponseBody public float $deletedCount; /** - * @param ?float $deletedCount + * @param float $deletedCount */ - public function __construct(?float $deletedCount = null) + public function __construct(float $deletedCount) { $this->deletedCount = $deletedCount; } diff --git a/src/Models/Operations/BulkUpdateLinksRequestBody.php b/src/Models/Operations/BulkUpdateLinksRequestBody.php index f4a3980..344d989 100644 --- a/src/Models/Operations/BulkUpdateLinksRequestBody.php +++ b/src/Models/Operations/BulkUpdateLinksRequestBody.php @@ -29,10 +29,10 @@ class BulkUpdateLinksRequestBody public Data $data; /** - * @param ?array $linkIds - * @param ?Data $data + * @param array $linkIds + * @param Data $data */ - public function __construct(?array $linkIds = null, ?Data $data = null) + public function __construct(array $linkIds, Data $data) { $this->linkIds = $linkIds; $this->data = $data; diff --git a/src/Models/Operations/BulkUpdateLinksResponse.php b/src/Models/Operations/BulkUpdateLinksResponse.php index 3217510..08b99da 100644 --- a/src/Models/Operations/BulkUpdateLinksResponse.php +++ b/src/Models/Operations/BulkUpdateLinksResponse.php @@ -40,12 +40,12 @@ class BulkUpdateLinksResponse public ?array $linkSchemas = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?array $linkSchemas */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?array $linkSchemas = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?array $linkSchemas = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/Click.php b/src/Models/Operations/Click.php index 42a5aec..bbdea50 100644 --- a/src/Models/Operations/Click.php +++ b/src/Models/Operations/Click.php @@ -19,9 +19,9 @@ class Click public string $id; /** - * @param ?string $id + * @param string $id */ - public function __construct(?string $id = null) + public function __construct(string $id) { $this->id = $id; } diff --git a/src/Models/Operations/CreateDomainRequestBody.php b/src/Models/Operations/CreateDomainRequestBody.php index a9affc4..e510731 100644 --- a/src/Models/Operations/CreateDomainRequestBody.php +++ b/src/Models/Operations/CreateDomainRequestBody.php @@ -25,7 +25,7 @@ class CreateDomainRequestBody * @var ?string $expiredUrl */ #[\JMS\Serializer\Annotation\SerializedName('expiredUrl')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiredUrl = null; /** @@ -34,7 +34,7 @@ class CreateDomainRequestBody * @var ?bool $archived */ #[\JMS\Serializer\Annotation\SerializedName('archived')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $archived = null; /** @@ -43,20 +43,20 @@ class CreateDomainRequestBody * @var ?string $placeholder */ #[\JMS\Serializer\Annotation\SerializedName('placeholder')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $placeholder = null; /** - * @param ?string $slug - * @param ?string $expiredUrl + * @param string $slug * @param ?bool $archived + * @param ?string $expiredUrl * @param ?string $placeholder */ - public function __construct(?string $slug = null, ?string $expiredUrl = null, ?bool $archived = null, ?string $placeholder = null) + public function __construct(string $slug, ?bool $archived = null, ?string $expiredUrl = null, ?string $placeholder = null) { $this->slug = $slug; - $this->expiredUrl = $expiredUrl; $this->archived = $archived; + $this->expiredUrl = $expiredUrl; $this->placeholder = $placeholder; } } \ No newline at end of file diff --git a/src/Models/Operations/CreateDomainResponse.php b/src/Models/Operations/CreateDomainResponse.php index 236ddc0..5c228db 100644 --- a/src/Models/Operations/CreateDomainResponse.php +++ b/src/Models/Operations/CreateDomainResponse.php @@ -40,12 +40,12 @@ class CreateDomainResponse public ?Components\DomainSchema $domainSchema = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?Components\DomainSchema $domainSchema */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Components\DomainSchema $domainSchema = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Components\DomainSchema $domainSchema = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/CreateLinkRequestBody.php b/src/Models/Operations/CreateLinkRequestBody.php index d915c8a..79c5b81 100644 --- a/src/Models/Operations/CreateLinkRequestBody.php +++ b/src/Models/Operations/CreateLinkRequestBody.php @@ -25,7 +25,7 @@ class CreateLinkRequestBody * @var ?string $domain */ #[\JMS\Serializer\Annotation\SerializedName('domain')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $domain = null; /** @@ -34,7 +34,7 @@ class CreateLinkRequestBody * @var ?string $key */ #[\JMS\Serializer\Annotation\SerializedName('key')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $key = null; /** @@ -43,7 +43,7 @@ class CreateLinkRequestBody * @var ?string $externalId */ #[\JMS\Serializer\Annotation\SerializedName('externalId')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $externalId = null; /** @@ -52,7 +52,7 @@ class CreateLinkRequestBody * @var ?string $prefix */ #[\JMS\Serializer\Annotation\SerializedName('prefix')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $prefix = null; /** @@ -61,7 +61,7 @@ class CreateLinkRequestBody * @var ?bool $trackConversion */ #[\JMS\Serializer\Annotation\SerializedName('trackConversion')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $trackConversion = null; /** @@ -70,7 +70,7 @@ class CreateLinkRequestBody * @var ?bool $archived */ #[\JMS\Serializer\Annotation\SerializedName('archived')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $archived = null; /** @@ -79,7 +79,7 @@ class CreateLinkRequestBody * @var ?bool $publicStats */ #[\JMS\Serializer\Annotation\SerializedName('publicStats')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $publicStats = null; /** @@ -89,7 +89,7 @@ class CreateLinkRequestBody * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ #[\JMS\Serializer\Annotation\SerializedName('tagId')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tagId = null; /** @@ -98,8 +98,8 @@ class CreateLinkRequestBody * @var string|array|null $tagIds */ #[\JMS\Serializer\Annotation\SerializedName('tagIds')] - #[\JMS\Serializer\Annotation\Type('string|array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\Type('string|array')] + #[\JMS\Serializer\Annotation\SkipWhenNull] public string|array|null $tagIds = null; /** @@ -108,8 +108,8 @@ class CreateLinkRequestBody * @var string|array|null $tagNames */ #[\JMS\Serializer\Annotation\SerializedName('tagNames')] - #[\JMS\Serializer\Annotation\Type('string|array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\Type('string|array')] + #[\JMS\Serializer\Annotation\SkipWhenNull] public string|array|null $tagNames = null; /** @@ -118,7 +118,7 @@ class CreateLinkRequestBody * @var ?string $comments */ #[\JMS\Serializer\Annotation\SerializedName('comments')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $comments = null; /** @@ -127,7 +127,7 @@ class CreateLinkRequestBody * @var ?string $expiresAt */ #[\JMS\Serializer\Annotation\SerializedName('expiresAt')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiresAt = null; /** @@ -136,7 +136,7 @@ class CreateLinkRequestBody * @var ?string $expiredUrl */ #[\JMS\Serializer\Annotation\SerializedName('expiredUrl')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiredUrl = null; /** @@ -145,7 +145,7 @@ class CreateLinkRequestBody * @var ?string $password */ #[\JMS\Serializer\Annotation\SerializedName('password')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $password = null; /** @@ -154,7 +154,7 @@ class CreateLinkRequestBody * @var ?bool $proxy */ #[\JMS\Serializer\Annotation\SerializedName('proxy')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $proxy = null; /** @@ -163,7 +163,7 @@ class CreateLinkRequestBody * @var ?string $title */ #[\JMS\Serializer\Annotation\SerializedName('title')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $title = null; /** @@ -172,7 +172,7 @@ class CreateLinkRequestBody * @var ?string $description */ #[\JMS\Serializer\Annotation\SerializedName('description')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $description = null; /** @@ -181,7 +181,7 @@ class CreateLinkRequestBody * @var ?string $image */ #[\JMS\Serializer\Annotation\SerializedName('image')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $image = null; /** @@ -190,7 +190,7 @@ class CreateLinkRequestBody * @var ?string $video */ #[\JMS\Serializer\Annotation\SerializedName('video')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $video = null; /** @@ -199,7 +199,7 @@ class CreateLinkRequestBody * @var ?bool $rewrite */ #[\JMS\Serializer\Annotation\SerializedName('rewrite')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $rewrite = null; /** @@ -208,7 +208,7 @@ class CreateLinkRequestBody * @var ?string $ios */ #[\JMS\Serializer\Annotation\SerializedName('ios')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ios = null; /** @@ -217,7 +217,7 @@ class CreateLinkRequestBody * @var ?string $android */ #[\JMS\Serializer\Annotation\SerializedName('android')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $android = null; /** @@ -227,7 +227,7 @@ class CreateLinkRequestBody */ #[\JMS\Serializer\Annotation\SerializedName('geo')] #[\JMS\Serializer\Annotation\Type('\Dub\Models\Components\LinkGeoTargeting|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?Components\LinkGeoTargeting $geo = null; /** @@ -236,7 +236,7 @@ class CreateLinkRequestBody * @var ?bool $doIndex */ #[\JMS\Serializer\Annotation\SerializedName('doIndex')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $doIndex = null; /** @@ -245,7 +245,7 @@ class CreateLinkRequestBody * @var ?string $utmSource */ #[\JMS\Serializer\Annotation\SerializedName('utm_source')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmSource = null; /** @@ -254,7 +254,7 @@ class CreateLinkRequestBody * @var ?string $utmMedium */ #[\JMS\Serializer\Annotation\SerializedName('utm_medium')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmMedium = null; /** @@ -263,7 +263,7 @@ class CreateLinkRequestBody * @var ?string $utmCampaign */ #[\JMS\Serializer\Annotation\SerializedName('utm_campaign')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmCampaign = null; /** @@ -272,7 +272,7 @@ class CreateLinkRequestBody * @var ?string $utmTerm */ #[\JMS\Serializer\Annotation\SerializedName('utm_term')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmTerm = null; /** @@ -281,68 +281,68 @@ class CreateLinkRequestBody * @var ?string $utmContent */ #[\JMS\Serializer\Annotation\SerializedName('utm_content')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmContent = null; /** - * @param ?string $url + * @param string $url * @param ?string $domain * @param ?string $key - * @param ?string $externalId * @param ?string $prefix * @param ?bool $trackConversion * @param ?bool $archived * @param ?bool $publicStats - * @param ?string $tagId * @param string|array|null $tagIds * @param string|array|null $tagNames + * @param ?bool $proxy + * @param ?bool $rewrite + * @param ?bool $doIndex + * @param ?string $externalId + * @param ?string $tagId * @param ?string $comments * @param ?string $expiresAt * @param ?string $expiredUrl * @param ?string $password - * @param ?bool $proxy * @param ?string $title * @param ?string $description * @param ?string $image * @param ?string $video - * @param ?bool $rewrite * @param ?string $ios * @param ?string $android * @param ?Components\LinkGeoTargeting $geo - * @param ?bool $doIndex * @param ?string $utmSource * @param ?string $utmMedium * @param ?string $utmCampaign * @param ?string $utmTerm * @param ?string $utmContent */ - public function __construct(?string $url = null, ?string $domain = null, ?string $key = null, ?string $externalId = null, ?string $prefix = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $publicStats = null, ?string $tagId = null, string|array|null $tagIds = null, string|array|null $tagNames = null, ?string $comments = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?bool $proxy = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?bool $rewrite = null, ?string $ios = null, ?string $android = null, ?Components\LinkGeoTargeting $geo = null, ?bool $doIndex = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null) + public function __construct(string $url, ?string $domain = null, ?string $key = null, ?string $prefix = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $publicStats = null, string|array|null $tagIds = null, string|array|null $tagNames = null, ?bool $proxy = null, ?bool $rewrite = null, ?bool $doIndex = null, ?string $externalId = null, ?string $tagId = null, ?string $comments = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?string $ios = null, ?string $android = null, ?Components\LinkGeoTargeting $geo = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null) { $this->url = $url; $this->domain = $domain; $this->key = $key; - $this->externalId = $externalId; $this->prefix = $prefix; $this->trackConversion = $trackConversion; $this->archived = $archived; $this->publicStats = $publicStats; - $this->tagId = $tagId; $this->tagIds = $tagIds; $this->tagNames = $tagNames; + $this->proxy = $proxy; + $this->rewrite = $rewrite; + $this->doIndex = $doIndex; + $this->externalId = $externalId; + $this->tagId = $tagId; $this->comments = $comments; $this->expiresAt = $expiresAt; $this->expiredUrl = $expiredUrl; $this->password = $password; - $this->proxy = $proxy; $this->title = $title; $this->description = $description; $this->image = $image; $this->video = $video; - $this->rewrite = $rewrite; $this->ios = $ios; $this->android = $android; $this->geo = $geo; - $this->doIndex = $doIndex; $this->utmSource = $utmSource; $this->utmMedium = $utmMedium; $this->utmCampaign = $utmCampaign; diff --git a/src/Models/Operations/CreateLinkResponse.php b/src/Models/Operations/CreateLinkResponse.php index b727213..68435d9 100644 --- a/src/Models/Operations/CreateLinkResponse.php +++ b/src/Models/Operations/CreateLinkResponse.php @@ -40,12 +40,12 @@ class CreateLinkResponse public ?Components\LinkSchema $linkSchema = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?Components\LinkSchema $linkSchema */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Components\LinkSchema $linkSchema = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Components\LinkSchema $linkSchema = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/CreateTagRequestBody.php b/src/Models/Operations/CreateTagRequestBody.php index e9fd531..d778985 100644 --- a/src/Models/Operations/CreateTagRequestBody.php +++ b/src/Models/Operations/CreateTagRequestBody.php @@ -17,7 +17,7 @@ class CreateTagRequestBody * @var ?string $name */ #[\JMS\Serializer\Annotation\SerializedName('name')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $name = null; /** @@ -27,7 +27,7 @@ class CreateTagRequestBody */ #[\JMS\Serializer\Annotation\SerializedName('color')] #[\JMS\Serializer\Annotation\Type('\Dub\Models\Operations\Color|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?Color $color = null; /** @@ -37,7 +37,7 @@ class CreateTagRequestBody * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ #[\JMS\Serializer\Annotation\SerializedName('tag')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tag = null; /** diff --git a/src/Models/Operations/CreateTagResponse.php b/src/Models/Operations/CreateTagResponse.php index 503f9ad..436d11d 100644 --- a/src/Models/Operations/CreateTagResponse.php +++ b/src/Models/Operations/CreateTagResponse.php @@ -40,12 +40,12 @@ class CreateTagResponse public ?Components\TagSchema $tagSchema = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?Components\TagSchema $tagSchema */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Components\TagSchema $tagSchema = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Components\TagSchema $tagSchema = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/Customer.php b/src/Models/Operations/Customer.php index 3d22719..653996e 100644 --- a/src/Models/Operations/Customer.php +++ b/src/Models/Operations/Customer.php @@ -20,32 +20,32 @@ class Customer /** * - * @var string $name + * @var ?string $name */ #[\JMS\Serializer\Annotation\SerializedName('name')] - public string $name; + public ?string $name; /** * - * @var string $email + * @var ?string $email */ #[\JMS\Serializer\Annotation\SerializedName('email')] - public string $email; + public ?string $email; /** * - * @var string $avatar + * @var ?string $avatar */ #[\JMS\Serializer\Annotation\SerializedName('avatar')] - public string $avatar; + public ?string $avatar; /** - * @param ?string $id + * @param string $id * @param ?string $name * @param ?string $email * @param ?string $avatar */ - public function __construct(?string $id = null, ?string $name = null, ?string $email = null, ?string $avatar = null) + public function __construct(string $id, ?string $name = null, ?string $email = null, ?string $avatar = null) { $this->id = $id; $this->name = $name; diff --git a/src/Models/Operations/Data.php b/src/Models/Operations/Data.php index 42fb6ee..df942e8 100644 --- a/src/Models/Operations/Data.php +++ b/src/Models/Operations/Data.php @@ -17,7 +17,7 @@ class Data * @var ?string $url */ #[\JMS\Serializer\Annotation\SerializedName('url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $url = null; /** @@ -26,7 +26,7 @@ class Data * @var ?bool $trackConversion */ #[\JMS\Serializer\Annotation\SerializedName('trackConversion')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $trackConversion = null; /** @@ -35,7 +35,7 @@ class Data * @var ?bool $archived */ #[\JMS\Serializer\Annotation\SerializedName('archived')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $archived = null; /** @@ -44,7 +44,7 @@ class Data * @var ?bool $publicStats */ #[\JMS\Serializer\Annotation\SerializedName('publicStats')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $publicStats = null; /** @@ -54,7 +54,7 @@ class Data * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ #[\JMS\Serializer\Annotation\SerializedName('tagId')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tagId = null; /** @@ -63,8 +63,8 @@ class Data * @var string|array|null $tagIds */ #[\JMS\Serializer\Annotation\SerializedName('tagIds')] - #[\JMS\Serializer\Annotation\Type('string|array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\Type('string|array')] + #[\JMS\Serializer\Annotation\SkipWhenNull] public string|array|null $tagIds = null; /** @@ -73,8 +73,8 @@ class Data * @var string|array|null $tagNames */ #[\JMS\Serializer\Annotation\SerializedName('tagNames')] - #[\JMS\Serializer\Annotation\Type('string|array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\Type('string|array')] + #[\JMS\Serializer\Annotation\SkipWhenNull] public string|array|null $tagNames = null; /** @@ -83,7 +83,7 @@ class Data * @var ?string $comments */ #[\JMS\Serializer\Annotation\SerializedName('comments')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $comments = null; /** @@ -92,7 +92,7 @@ class Data * @var ?string $expiresAt */ #[\JMS\Serializer\Annotation\SerializedName('expiresAt')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiresAt = null; /** @@ -101,7 +101,7 @@ class Data * @var ?string $expiredUrl */ #[\JMS\Serializer\Annotation\SerializedName('expiredUrl')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiredUrl = null; /** @@ -110,7 +110,7 @@ class Data * @var ?string $password */ #[\JMS\Serializer\Annotation\SerializedName('password')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $password = null; /** @@ -119,7 +119,7 @@ class Data * @var ?bool $proxy */ #[\JMS\Serializer\Annotation\SerializedName('proxy')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $proxy = null; /** @@ -128,7 +128,7 @@ class Data * @var ?string $title */ #[\JMS\Serializer\Annotation\SerializedName('title')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $title = null; /** @@ -137,7 +137,7 @@ class Data * @var ?string $description */ #[\JMS\Serializer\Annotation\SerializedName('description')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $description = null; /** @@ -146,7 +146,7 @@ class Data * @var ?string $image */ #[\JMS\Serializer\Annotation\SerializedName('image')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $image = null; /** @@ -155,7 +155,7 @@ class Data * @var ?string $video */ #[\JMS\Serializer\Annotation\SerializedName('video')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $video = null; /** @@ -164,7 +164,7 @@ class Data * @var ?bool $rewrite */ #[\JMS\Serializer\Annotation\SerializedName('rewrite')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $rewrite = null; /** @@ -173,7 +173,7 @@ class Data * @var ?string $ios */ #[\JMS\Serializer\Annotation\SerializedName('ios')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ios = null; /** @@ -182,7 +182,7 @@ class Data * @var ?string $android */ #[\JMS\Serializer\Annotation\SerializedName('android')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $android = null; /** @@ -192,7 +192,7 @@ class Data */ #[\JMS\Serializer\Annotation\SerializedName('geo')] #[\JMS\Serializer\Annotation\Type('\Dub\Models\Components\LinkGeoTargeting|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?Components\LinkGeoTargeting $geo = null; /** @@ -201,7 +201,7 @@ class Data * @var ?bool $doIndex */ #[\JMS\Serializer\Annotation\SerializedName('doIndex')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $doIndex = null; /** @@ -210,7 +210,7 @@ class Data * @var ?string $utmSource */ #[\JMS\Serializer\Annotation\SerializedName('utm_source')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmSource = null; /** @@ -219,7 +219,7 @@ class Data * @var ?string $utmMedium */ #[\JMS\Serializer\Annotation\SerializedName('utm_medium')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmMedium = null; /** @@ -228,7 +228,7 @@ class Data * @var ?string $utmCampaign */ #[\JMS\Serializer\Annotation\SerializedName('utm_campaign')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmCampaign = null; /** @@ -237,7 +237,7 @@ class Data * @var ?string $utmTerm */ #[\JMS\Serializer\Annotation\SerializedName('utm_term')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmTerm = null; /** @@ -246,7 +246,7 @@ class Data * @var ?string $utmContent */ #[\JMS\Serializer\Annotation\SerializedName('utm_content')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmContent = null; /** @@ -254,52 +254,52 @@ class Data * @param ?bool $trackConversion * @param ?bool $archived * @param ?bool $publicStats - * @param ?string $tagId * @param string|array|null $tagIds * @param string|array|null $tagNames + * @param ?bool $proxy + * @param ?bool $rewrite + * @param ?bool $doIndex + * @param ?string $tagId * @param ?string $comments * @param ?string $expiresAt * @param ?string $expiredUrl * @param ?string $password - * @param ?bool $proxy * @param ?string $title * @param ?string $description * @param ?string $image * @param ?string $video - * @param ?bool $rewrite * @param ?string $ios * @param ?string $android * @param ?Components\LinkGeoTargeting $geo - * @param ?bool $doIndex * @param ?string $utmSource * @param ?string $utmMedium * @param ?string $utmCampaign * @param ?string $utmTerm * @param ?string $utmContent */ - public function __construct(?string $url = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $publicStats = null, ?string $tagId = null, string|array|null $tagIds = null, string|array|null $tagNames = null, ?string $comments = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?bool $proxy = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?bool $rewrite = null, ?string $ios = null, ?string $android = null, ?Components\LinkGeoTargeting $geo = null, ?bool $doIndex = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null) + public function __construct(?string $url = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $publicStats = null, string|array|null $tagIds = null, string|array|null $tagNames = null, ?bool $proxy = null, ?bool $rewrite = null, ?bool $doIndex = null, ?string $tagId = null, ?string $comments = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?string $ios = null, ?string $android = null, ?Components\LinkGeoTargeting $geo = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null) { $this->url = $url; $this->trackConversion = $trackConversion; $this->archived = $archived; $this->publicStats = $publicStats; - $this->tagId = $tagId; $this->tagIds = $tagIds; $this->tagNames = $tagNames; + $this->proxy = $proxy; + $this->rewrite = $rewrite; + $this->doIndex = $doIndex; + $this->tagId = $tagId; $this->comments = $comments; $this->expiresAt = $expiresAt; $this->expiredUrl = $expiredUrl; $this->password = $password; - $this->proxy = $proxy; $this->title = $title; $this->description = $description; $this->image = $image; $this->video = $video; - $this->rewrite = $rewrite; $this->ios = $ios; $this->android = $android; $this->geo = $geo; - $this->doIndex = $doIndex; $this->utmSource = $utmSource; $this->utmMedium = $utmMedium; $this->utmCampaign = $utmCampaign; diff --git a/src/Models/Operations/DeleteDomainRequest.php b/src/Models/Operations/DeleteDomainRequest.php index be3be5e..0649073 100644 --- a/src/Models/Operations/DeleteDomainRequest.php +++ b/src/Models/Operations/DeleteDomainRequest.php @@ -20,9 +20,9 @@ class DeleteDomainRequest public string $slug; /** - * @param ?string $slug + * @param string $slug */ - public function __construct(?string $slug = null) + public function __construct(string $slug) { $this->slug = $slug; } diff --git a/src/Models/Operations/DeleteDomainResponse.php b/src/Models/Operations/DeleteDomainResponse.php index c507e43..686f230 100644 --- a/src/Models/Operations/DeleteDomainResponse.php +++ b/src/Models/Operations/DeleteDomainResponse.php @@ -40,12 +40,12 @@ class DeleteDomainResponse public ?DeleteDomainResponseBody $object = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?DeleteDomainResponseBody $object */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?DeleteDomainResponseBody $object = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?DeleteDomainResponseBody $object = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/DeleteDomainResponseBody.php b/src/Models/Operations/DeleteDomainResponseBody.php index 36f7d39..2788410 100644 --- a/src/Models/Operations/DeleteDomainResponseBody.php +++ b/src/Models/Operations/DeleteDomainResponseBody.php @@ -21,9 +21,9 @@ class DeleteDomainResponseBody public string $slug; /** - * @param ?string $slug + * @param string $slug */ - public function __construct(?string $slug = null) + public function __construct(string $slug) { $this->slug = $slug; } diff --git a/src/Models/Operations/DeleteLinkRequest.php b/src/Models/Operations/DeleteLinkRequest.php index 069a58a..6e30eb6 100644 --- a/src/Models/Operations/DeleteLinkRequest.php +++ b/src/Models/Operations/DeleteLinkRequest.php @@ -20,9 +20,9 @@ class DeleteLinkRequest public string $linkId; /** - * @param ?string $linkId + * @param string $linkId */ - public function __construct(?string $linkId = null) + public function __construct(string $linkId) { $this->linkId = $linkId; } diff --git a/src/Models/Operations/DeleteLinkResponse.php b/src/Models/Operations/DeleteLinkResponse.php index d57cf8b..b08c23d 100644 --- a/src/Models/Operations/DeleteLinkResponse.php +++ b/src/Models/Operations/DeleteLinkResponse.php @@ -40,12 +40,12 @@ class DeleteLinkResponse public ?DeleteLinkResponseBody $object = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?DeleteLinkResponseBody $object */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?DeleteLinkResponseBody $object = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?DeleteLinkResponseBody $object = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/DeleteLinkResponseBody.php b/src/Models/Operations/DeleteLinkResponseBody.php index 8542374..3704958 100644 --- a/src/Models/Operations/DeleteLinkResponseBody.php +++ b/src/Models/Operations/DeleteLinkResponseBody.php @@ -21,9 +21,9 @@ class DeleteLinkResponseBody public string $id; /** - * @param ?string $id + * @param string $id */ - public function __construct(?string $id = null) + public function __construct(string $id) { $this->id = $id; } diff --git a/src/Models/Operations/DeleteTagRequest.php b/src/Models/Operations/DeleteTagRequest.php index 4b9e4fc..7533199 100644 --- a/src/Models/Operations/DeleteTagRequest.php +++ b/src/Models/Operations/DeleteTagRequest.php @@ -20,9 +20,9 @@ class DeleteTagRequest public string $id; /** - * @param ?string $id + * @param string $id */ - public function __construct(?string $id = null) + public function __construct(string $id) { $this->id = $id; } diff --git a/src/Models/Operations/DeleteTagResponse.php b/src/Models/Operations/DeleteTagResponse.php index 0fc150f..76e8af8 100644 --- a/src/Models/Operations/DeleteTagResponse.php +++ b/src/Models/Operations/DeleteTagResponse.php @@ -40,12 +40,12 @@ class DeleteTagResponse public ?DeleteTagResponseBody $object = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?DeleteTagResponseBody $object */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?DeleteTagResponseBody $object = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?DeleteTagResponseBody $object = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/DeleteTagResponseBody.php b/src/Models/Operations/DeleteTagResponseBody.php index 08ba21e..7e9b297 100644 --- a/src/Models/Operations/DeleteTagResponseBody.php +++ b/src/Models/Operations/DeleteTagResponseBody.php @@ -21,9 +21,9 @@ class DeleteTagResponseBody public string $id; /** - * @param ?string $id + * @param string $id */ - public function __construct(?string $id = null) + public function __construct(string $id) { $this->id = $id; } diff --git a/src/Models/Operations/GetLinkInfoResponse.php b/src/Models/Operations/GetLinkInfoResponse.php index 6184ff6..0bd022e 100644 --- a/src/Models/Operations/GetLinkInfoResponse.php +++ b/src/Models/Operations/GetLinkInfoResponse.php @@ -40,12 +40,12 @@ class GetLinkInfoResponse public ?Components\LinkSchema $linkSchema = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?Components\LinkSchema $linkSchema */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Components\LinkSchema $linkSchema = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Components\LinkSchema $linkSchema = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/GetLinksCountResponse.php b/src/Models/Operations/GetLinksCountResponse.php index d3e6401..4e69b05 100644 --- a/src/Models/Operations/GetLinksCountResponse.php +++ b/src/Models/Operations/GetLinksCountResponse.php @@ -40,12 +40,12 @@ class GetLinksCountResponse public ?float $number = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?float $number */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?float $number = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?float $number = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/GetLinksResponse.php b/src/Models/Operations/GetLinksResponse.php index c193a3b..6229021 100644 --- a/src/Models/Operations/GetLinksResponse.php +++ b/src/Models/Operations/GetLinksResponse.php @@ -40,12 +40,12 @@ class GetLinksResponse public ?array $linkSchemas = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?array $linkSchemas */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?array $linkSchemas = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?array $linkSchemas = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/GetMetatagsRequest.php b/src/Models/Operations/GetMetatagsRequest.php index ada45eb..0689c2b 100644 --- a/src/Models/Operations/GetMetatagsRequest.php +++ b/src/Models/Operations/GetMetatagsRequest.php @@ -20,9 +20,9 @@ class GetMetatagsRequest public string $url; /** - * @param ?string $url + * @param string $url */ - public function __construct(?string $url = null) + public function __construct(string $url) { $this->url = $url; } diff --git a/src/Models/Operations/GetMetatagsResponse.php b/src/Models/Operations/GetMetatagsResponse.php index 80cf685..8a47ea7 100644 --- a/src/Models/Operations/GetMetatagsResponse.php +++ b/src/Models/Operations/GetMetatagsResponse.php @@ -40,12 +40,12 @@ class GetMetatagsResponse public ?GetMetatagsResponseBody $object = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?GetMetatagsResponseBody $object */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?GetMetatagsResponseBody $object = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?GetMetatagsResponseBody $object = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/GetMetatagsResponseBody.php b/src/Models/Operations/GetMetatagsResponseBody.php index ea89232..e415f1f 100644 --- a/src/Models/Operations/GetMetatagsResponseBody.php +++ b/src/Models/Operations/GetMetatagsResponseBody.php @@ -15,26 +15,26 @@ class GetMetatagsResponseBody /** * The meta title tag for the URL. * - * @var string $title + * @var ?string $title */ #[\JMS\Serializer\Annotation\SerializedName('title')] - public string $title; + public ?string $title; /** * The meta description tag for the URL. * - * @var string $description + * @var ?string $description */ #[\JMS\Serializer\Annotation\SerializedName('description')] - public string $description; + public ?string $description; /** * The OpenGraph image for the URL. * - * @var string $image + * @var ?string $image */ #[\JMS\Serializer\Annotation\SerializedName('image')] - public string $image; + public ?string $image; /** * @param ?string $title diff --git a/src/Models/Operations/GetQRCodeRequest.php b/src/Models/Operations/GetQRCodeRequest.php index 27e5207..ca05af4 100644 --- a/src/Models/Operations/GetQRCodeRequest.php +++ b/src/Models/Operations/GetQRCodeRequest.php @@ -60,14 +60,14 @@ class GetQRCodeRequest public ?bool $includeMargin = null; /** - * @param ?string $url + * @param string $url * @param ?float $size * @param ?Level $level * @param ?string $fgColor * @param ?string $bgColor * @param ?bool $includeMargin */ - public function __construct(?string $url = null, ?float $size = null, ?Level $level = null, ?string $fgColor = null, ?string $bgColor = null, ?bool $includeMargin = null) + public function __construct(string $url, ?float $size = null, ?Level $level = null, ?string $fgColor = null, ?string $bgColor = null, ?bool $includeMargin = null) { $this->url = $url; $this->size = $size; diff --git a/src/Models/Operations/GetQRCodeResponse.php b/src/Models/Operations/GetQRCodeResponse.php index afd5135..a71abc4 100644 --- a/src/Models/Operations/GetQRCodeResponse.php +++ b/src/Models/Operations/GetQRCodeResponse.php @@ -40,12 +40,12 @@ class GetQRCodeResponse public ?string $res = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?string $res */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?string $res = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?string $res = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/GetTagsResponse.php b/src/Models/Operations/GetTagsResponse.php index ec1b7cb..464b013 100644 --- a/src/Models/Operations/GetTagsResponse.php +++ b/src/Models/Operations/GetTagsResponse.php @@ -40,12 +40,12 @@ class GetTagsResponse public ?array $tagSchemas = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?array $tagSchemas */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?array $tagSchemas = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?array $tagSchemas = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/GetWorkspaceRequest.php b/src/Models/Operations/GetWorkspaceRequest.php index 1754971..0cc9abf 100644 --- a/src/Models/Operations/GetWorkspaceRequest.php +++ b/src/Models/Operations/GetWorkspaceRequest.php @@ -20,9 +20,9 @@ class GetWorkspaceRequest public string $idOrSlug; /** - * @param ?string $idOrSlug + * @param string $idOrSlug */ - public function __construct(?string $idOrSlug = null) + public function __construct(string $idOrSlug) { $this->idOrSlug = $idOrSlug; } diff --git a/src/Models/Operations/GetWorkspaceResponse.php b/src/Models/Operations/GetWorkspaceResponse.php index f62aa31..290fa2f 100644 --- a/src/Models/Operations/GetWorkspaceResponse.php +++ b/src/Models/Operations/GetWorkspaceResponse.php @@ -40,12 +40,12 @@ class GetWorkspaceResponse public ?Components\WorkspaceSchema $workspaceSchema = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?Components\WorkspaceSchema $workspaceSchema */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Components\WorkspaceSchema $workspaceSchema = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Components\WorkspaceSchema $workspaceSchema = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/ListDomainsResponse.php b/src/Models/Operations/ListDomainsResponse.php index 8dd2190..e43fed2 100644 --- a/src/Models/Operations/ListDomainsResponse.php +++ b/src/Models/Operations/ListDomainsResponse.php @@ -40,12 +40,12 @@ class ListDomainsResponse public ?array $domainSchemas = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?array $domainSchemas */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?array $domainSchemas = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?array $domainSchemas = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/ListEventsResponse.php b/src/Models/Operations/ListEventsResponse.php index 446ccbd..e3d2912 100644 --- a/src/Models/Operations/ListEventsResponse.php +++ b/src/Models/Operations/ListEventsResponse.php @@ -40,12 +40,12 @@ class ListEventsResponse public ?array $clickEvents = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?array $clickEvents */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?array $clickEvents = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?array $clickEvents = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/RequestBody.php b/src/Models/Operations/RequestBody.php index 2822b99..d2b7eac 100644 --- a/src/Models/Operations/RequestBody.php +++ b/src/Models/Operations/RequestBody.php @@ -25,7 +25,7 @@ class RequestBody * @var ?string $domain */ #[\JMS\Serializer\Annotation\SerializedName('domain')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $domain = null; /** @@ -34,7 +34,7 @@ class RequestBody * @var ?string $key */ #[\JMS\Serializer\Annotation\SerializedName('key')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $key = null; /** @@ -43,7 +43,7 @@ class RequestBody * @var ?string $externalId */ #[\JMS\Serializer\Annotation\SerializedName('externalId')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $externalId = null; /** @@ -52,7 +52,7 @@ class RequestBody * @var ?string $prefix */ #[\JMS\Serializer\Annotation\SerializedName('prefix')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $prefix = null; /** @@ -61,7 +61,7 @@ class RequestBody * @var ?bool $trackConversion */ #[\JMS\Serializer\Annotation\SerializedName('trackConversion')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $trackConversion = null; /** @@ -70,7 +70,7 @@ class RequestBody * @var ?bool $archived */ #[\JMS\Serializer\Annotation\SerializedName('archived')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $archived = null; /** @@ -79,7 +79,7 @@ class RequestBody * @var ?bool $publicStats */ #[\JMS\Serializer\Annotation\SerializedName('publicStats')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $publicStats = null; /** @@ -89,7 +89,7 @@ class RequestBody * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ #[\JMS\Serializer\Annotation\SerializedName('tagId')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tagId = null; /** @@ -98,8 +98,8 @@ class RequestBody * @var string|array|null $tagIds */ #[\JMS\Serializer\Annotation\SerializedName('tagIds')] - #[\JMS\Serializer\Annotation\Type('string|array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\Type('string|array')] + #[\JMS\Serializer\Annotation\SkipWhenNull] public string|array|null $tagIds = null; /** @@ -108,8 +108,8 @@ class RequestBody * @var string|array|null $tagNames */ #[\JMS\Serializer\Annotation\SerializedName('tagNames')] - #[\JMS\Serializer\Annotation\Type('string|array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\Type('string|array')] + #[\JMS\Serializer\Annotation\SkipWhenNull] public string|array|null $tagNames = null; /** @@ -118,7 +118,7 @@ class RequestBody * @var ?string $comments */ #[\JMS\Serializer\Annotation\SerializedName('comments')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $comments = null; /** @@ -127,7 +127,7 @@ class RequestBody * @var ?string $expiresAt */ #[\JMS\Serializer\Annotation\SerializedName('expiresAt')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiresAt = null; /** @@ -136,7 +136,7 @@ class RequestBody * @var ?string $expiredUrl */ #[\JMS\Serializer\Annotation\SerializedName('expiredUrl')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiredUrl = null; /** @@ -145,7 +145,7 @@ class RequestBody * @var ?string $password */ #[\JMS\Serializer\Annotation\SerializedName('password')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $password = null; /** @@ -154,7 +154,7 @@ class RequestBody * @var ?bool $proxy */ #[\JMS\Serializer\Annotation\SerializedName('proxy')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $proxy = null; /** @@ -163,7 +163,7 @@ class RequestBody * @var ?string $title */ #[\JMS\Serializer\Annotation\SerializedName('title')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $title = null; /** @@ -172,7 +172,7 @@ class RequestBody * @var ?string $description */ #[\JMS\Serializer\Annotation\SerializedName('description')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $description = null; /** @@ -181,7 +181,7 @@ class RequestBody * @var ?string $image */ #[\JMS\Serializer\Annotation\SerializedName('image')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $image = null; /** @@ -190,7 +190,7 @@ class RequestBody * @var ?string $video */ #[\JMS\Serializer\Annotation\SerializedName('video')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $video = null; /** @@ -199,7 +199,7 @@ class RequestBody * @var ?bool $rewrite */ #[\JMS\Serializer\Annotation\SerializedName('rewrite')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $rewrite = null; /** @@ -208,7 +208,7 @@ class RequestBody * @var ?string $ios */ #[\JMS\Serializer\Annotation\SerializedName('ios')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ios = null; /** @@ -217,7 +217,7 @@ class RequestBody * @var ?string $android */ #[\JMS\Serializer\Annotation\SerializedName('android')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $android = null; /** @@ -227,7 +227,7 @@ class RequestBody */ #[\JMS\Serializer\Annotation\SerializedName('geo')] #[\JMS\Serializer\Annotation\Type('\Dub\Models\Components\LinkGeoTargeting|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?Components\LinkGeoTargeting $geo = null; /** @@ -236,7 +236,7 @@ class RequestBody * @var ?bool $doIndex */ #[\JMS\Serializer\Annotation\SerializedName('doIndex')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $doIndex = null; /** @@ -245,7 +245,7 @@ class RequestBody * @var ?string $utmSource */ #[\JMS\Serializer\Annotation\SerializedName('utm_source')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmSource = null; /** @@ -254,7 +254,7 @@ class RequestBody * @var ?string $utmMedium */ #[\JMS\Serializer\Annotation\SerializedName('utm_medium')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmMedium = null; /** @@ -263,7 +263,7 @@ class RequestBody * @var ?string $utmCampaign */ #[\JMS\Serializer\Annotation\SerializedName('utm_campaign')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmCampaign = null; /** @@ -272,7 +272,7 @@ class RequestBody * @var ?string $utmTerm */ #[\JMS\Serializer\Annotation\SerializedName('utm_term')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmTerm = null; /** @@ -281,68 +281,68 @@ class RequestBody * @var ?string $utmContent */ #[\JMS\Serializer\Annotation\SerializedName('utm_content')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmContent = null; /** - * @param ?string $url + * @param string $url * @param ?string $domain * @param ?string $key - * @param ?string $externalId * @param ?string $prefix * @param ?bool $trackConversion * @param ?bool $archived * @param ?bool $publicStats - * @param ?string $tagId * @param string|array|null $tagIds * @param string|array|null $tagNames + * @param ?bool $proxy + * @param ?bool $rewrite + * @param ?bool $doIndex + * @param ?string $externalId + * @param ?string $tagId * @param ?string $comments * @param ?string $expiresAt * @param ?string $expiredUrl * @param ?string $password - * @param ?bool $proxy * @param ?string $title * @param ?string $description * @param ?string $image * @param ?string $video - * @param ?bool $rewrite * @param ?string $ios * @param ?string $android * @param ?Components\LinkGeoTargeting $geo - * @param ?bool $doIndex * @param ?string $utmSource * @param ?string $utmMedium * @param ?string $utmCampaign * @param ?string $utmTerm * @param ?string $utmContent */ - public function __construct(?string $url = null, ?string $domain = null, ?string $key = null, ?string $externalId = null, ?string $prefix = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $publicStats = null, ?string $tagId = null, string|array|null $tagIds = null, string|array|null $tagNames = null, ?string $comments = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?bool $proxy = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?bool $rewrite = null, ?string $ios = null, ?string $android = null, ?Components\LinkGeoTargeting $geo = null, ?bool $doIndex = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null) + public function __construct(string $url, ?string $domain = null, ?string $key = null, ?string $prefix = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $publicStats = null, string|array|null $tagIds = null, string|array|null $tagNames = null, ?bool $proxy = null, ?bool $rewrite = null, ?bool $doIndex = null, ?string $externalId = null, ?string $tagId = null, ?string $comments = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?string $ios = null, ?string $android = null, ?Components\LinkGeoTargeting $geo = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null) { $this->url = $url; $this->domain = $domain; $this->key = $key; - $this->externalId = $externalId; $this->prefix = $prefix; $this->trackConversion = $trackConversion; $this->archived = $archived; $this->publicStats = $publicStats; - $this->tagId = $tagId; $this->tagIds = $tagIds; $this->tagNames = $tagNames; + $this->proxy = $proxy; + $this->rewrite = $rewrite; + $this->doIndex = $doIndex; + $this->externalId = $externalId; + $this->tagId = $tagId; $this->comments = $comments; $this->expiresAt = $expiresAt; $this->expiredUrl = $expiredUrl; $this->password = $password; - $this->proxy = $proxy; $this->title = $title; $this->description = $description; $this->image = $image; $this->video = $video; - $this->rewrite = $rewrite; $this->ios = $ios; $this->android = $android; $this->geo = $geo; - $this->doIndex = $doIndex; $this->utmSource = $utmSource; $this->utmMedium = $utmMedium; $this->utmCampaign = $utmCampaign; diff --git a/src/Models/Operations/RetrieveAnalyticsResponse.php b/src/Models/Operations/RetrieveAnalyticsResponse.php index 5eb4fed..17d0a03 100644 --- a/src/Models/Operations/RetrieveAnalyticsResponse.php +++ b/src/Models/Operations/RetrieveAnalyticsResponse.php @@ -40,12 +40,12 @@ class RetrieveAnalyticsResponse public Components\AnalyticsCount|array|null $oneOf = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param Components\AnalyticsCount|array|array|array|array|array|array|array|array|array|null $oneOf */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, Components\AnalyticsCount|array|null $oneOf = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, Components\AnalyticsCount|array|null $oneOf = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/Sale.php b/src/Models/Operations/Sale.php index c2b9114..cfec463 100644 --- a/src/Models/Operations/Sale.php +++ b/src/Models/Operations/Sale.php @@ -34,28 +34,28 @@ class Sale /** * - * @var string $invoiceId + * @var ?string $invoiceId */ #[\JMS\Serializer\Annotation\SerializedName('invoiceId')] - public string $invoiceId; + public ?string $invoiceId; /** * $metadata * - * @var array $metadata + * @var ?array $metadata */ #[\JMS\Serializer\Annotation\SerializedName('metadata')] - #[\JMS\Serializer\Annotation\Type('array')] - public array $metadata; + #[\JMS\Serializer\Annotation\Type('array|null')] + public ?array $metadata; /** - * @param ?float $amount - * @param ?string $currency - * @param ?string $paymentProcessor + * @param float $amount + * @param string $currency + * @param string $paymentProcessor * @param ?string $invoiceId * @param ?array $metadata */ - public function __construct(?float $amount = null, ?string $currency = null, ?string $paymentProcessor = null, ?string $invoiceId = null, ?array $metadata = null) + public function __construct(float $amount, string $currency, string $paymentProcessor, ?string $invoiceId = null, ?array $metadata = null) { $this->amount = $amount; $this->currency = $currency; diff --git a/src/Models/Operations/TrackCustomerRequestBody.php b/src/Models/Operations/TrackCustomerRequestBody.php index a5e7616..e6cfa3d 100644 --- a/src/Models/Operations/TrackCustomerRequestBody.php +++ b/src/Models/Operations/TrackCustomerRequestBody.php @@ -25,7 +25,7 @@ class TrackCustomerRequestBody * @var ?string $customerName */ #[\JMS\Serializer\Annotation\SerializedName('customerName')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $customerName = null; /** @@ -34,7 +34,7 @@ class TrackCustomerRequestBody * @var ?string $customerEmail */ #[\JMS\Serializer\Annotation\SerializedName('customerEmail')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $customerEmail = null; /** @@ -43,16 +43,16 @@ class TrackCustomerRequestBody * @var ?string $customerAvatar */ #[\JMS\Serializer\Annotation\SerializedName('customerAvatar')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $customerAvatar = null; /** - * @param ?string $customerId + * @param string $customerId * @param ?string $customerName * @param ?string $customerEmail * @param ?string $customerAvatar */ - public function __construct(?string $customerId = null, ?string $customerName = null, ?string $customerEmail = null, ?string $customerAvatar = null) + public function __construct(string $customerId, ?string $customerName = null, ?string $customerEmail = null, ?string $customerAvatar = null) { $this->customerId = $customerId; $this->customerName = $customerName; diff --git a/src/Models/Operations/TrackCustomerResponse.php b/src/Models/Operations/TrackCustomerResponse.php index dd36d32..d25d880 100644 --- a/src/Models/Operations/TrackCustomerResponse.php +++ b/src/Models/Operations/TrackCustomerResponse.php @@ -40,12 +40,12 @@ class TrackCustomerResponse public ?TrackCustomerResponseBody $object = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?TrackCustomerResponseBody $object */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?TrackCustomerResponseBody $object = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?TrackCustomerResponseBody $object = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/TrackCustomerResponseBody.php b/src/Models/Operations/TrackCustomerResponseBody.php index b267c73..e1455e7 100644 --- a/src/Models/Operations/TrackCustomerResponseBody.php +++ b/src/Models/Operations/TrackCustomerResponseBody.php @@ -21,32 +21,32 @@ class TrackCustomerResponseBody /** * - * @var string $customerName + * @var ?string $customerName */ #[\JMS\Serializer\Annotation\SerializedName('customerName')] - public string $customerName; + public ?string $customerName; /** * - * @var string $customerEmail + * @var ?string $customerEmail */ #[\JMS\Serializer\Annotation\SerializedName('customerEmail')] - public string $customerEmail; + public ?string $customerEmail; /** * - * @var string $customerAvatar + * @var ?string $customerAvatar */ #[\JMS\Serializer\Annotation\SerializedName('customerAvatar')] - public string $customerAvatar; + public ?string $customerAvatar; /** - * @param ?string $customerId + * @param string $customerId * @param ?string $customerName * @param ?string $customerEmail * @param ?string $customerAvatar */ - public function __construct(?string $customerId = null, ?string $customerName = null, ?string $customerEmail = null, ?string $customerAvatar = null) + public function __construct(string $customerId, ?string $customerName = null, ?string $customerEmail = null, ?string $customerAvatar = null) { $this->customerId = $customerId; $this->customerName = $customerName; diff --git a/src/Models/Operations/TrackLeadRequestBody.php b/src/Models/Operations/TrackLeadRequestBody.php index 5f0127a..cf982b5 100644 --- a/src/Models/Operations/TrackLeadRequestBody.php +++ b/src/Models/Operations/TrackLeadRequestBody.php @@ -41,7 +41,7 @@ class TrackLeadRequestBody * @var ?string $customerName */ #[\JMS\Serializer\Annotation\SerializedName('customerName')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $customerName = null; /** @@ -50,7 +50,7 @@ class TrackLeadRequestBody * @var ?string $customerEmail */ #[\JMS\Serializer\Annotation\SerializedName('customerEmail')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $customerEmail = null; /** @@ -59,7 +59,7 @@ class TrackLeadRequestBody * @var ?string $customerAvatar */ #[\JMS\Serializer\Annotation\SerializedName('customerAvatar')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $customerAvatar = null; /** @@ -69,19 +69,19 @@ class TrackLeadRequestBody */ #[\JMS\Serializer\Annotation\SerializedName('metadata')] #[\JMS\Serializer\Annotation\Type('array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?array $metadata = null; /** - * @param ?string $clickId - * @param ?string $eventName - * @param ?string $customerId + * @param string $clickId + * @param string $eventName + * @param string $customerId * @param ?string $customerName * @param ?string $customerEmail * @param ?string $customerAvatar * @param ?array $metadata */ - public function __construct(?string $clickId = null, ?string $eventName = null, ?string $customerId = null, ?string $customerName = null, ?string $customerEmail = null, ?string $customerAvatar = null, ?array $metadata = null) + public function __construct(string $clickId, string $eventName, string $customerId, ?string $customerName = null, ?string $customerEmail = null, ?string $customerAvatar = null, ?array $metadata = null) { $this->clickId = $clickId; $this->eventName = $eventName; diff --git a/src/Models/Operations/TrackLeadResponse.php b/src/Models/Operations/TrackLeadResponse.php index 279241f..acfba14 100644 --- a/src/Models/Operations/TrackLeadResponse.php +++ b/src/Models/Operations/TrackLeadResponse.php @@ -40,12 +40,12 @@ class TrackLeadResponse public ?TrackLeadResponseBody $object = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?TrackLeadResponseBody $object */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?TrackLeadResponseBody $object = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?TrackLeadResponseBody $object = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/TrackLeadResponseBody.php b/src/Models/Operations/TrackLeadResponseBody.php index fb14cb8..b09e976 100644 --- a/src/Models/Operations/TrackLeadResponseBody.php +++ b/src/Models/Operations/TrackLeadResponseBody.php @@ -29,10 +29,10 @@ class TrackLeadResponseBody public Customer $customer; /** - * @param ?Click $click - * @param ?Customer $customer + * @param Click $click + * @param Customer $customer */ - public function __construct(?Click $click = null, ?Customer $customer = null) + public function __construct(Click $click, Customer $customer) { $this->click = $click; $this->customer = $customer; diff --git a/src/Models/Operations/TrackSaleCustomer.php b/src/Models/Operations/TrackSaleCustomer.php index 88d33c4..7ac39c4 100644 --- a/src/Models/Operations/TrackSaleCustomer.php +++ b/src/Models/Operations/TrackSaleCustomer.php @@ -20,32 +20,32 @@ class TrackSaleCustomer /** * - * @var string $name + * @var ?string $name */ #[\JMS\Serializer\Annotation\SerializedName('name')] - public string $name; + public ?string $name; /** * - * @var string $email + * @var ?string $email */ #[\JMS\Serializer\Annotation\SerializedName('email')] - public string $email; + public ?string $email; /** * - * @var string $avatar + * @var ?string $avatar */ #[\JMS\Serializer\Annotation\SerializedName('avatar')] - public string $avatar; + public ?string $avatar; /** - * @param ?string $id + * @param string $id * @param ?string $name * @param ?string $email * @param ?string $avatar */ - public function __construct(?string $id = null, ?string $name = null, ?string $email = null, ?string $avatar = null) + public function __construct(string $id, ?string $name = null, ?string $email = null, ?string $avatar = null) { $this->id = $id; $this->name = $name; diff --git a/src/Models/Operations/TrackSaleRequestBody.php b/src/Models/Operations/TrackSaleRequestBody.php index 2783c73..21b889e 100644 --- a/src/Models/Operations/TrackSaleRequestBody.php +++ b/src/Models/Operations/TrackSaleRequestBody.php @@ -42,7 +42,7 @@ class TrackSaleRequestBody * @var ?string $eventName */ #[\JMS\Serializer\Annotation\SerializedName('eventName')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $eventName = null; /** @@ -51,7 +51,7 @@ class TrackSaleRequestBody * @var ?string $invoiceId */ #[\JMS\Serializer\Annotation\SerializedName('invoiceId')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $invoiceId = null; /** @@ -60,7 +60,7 @@ class TrackSaleRequestBody * @var ?string $currency */ #[\JMS\Serializer\Annotation\SerializedName('currency')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $currency = null; /** @@ -70,26 +70,26 @@ class TrackSaleRequestBody */ #[\JMS\Serializer\Annotation\SerializedName('metadata')] #[\JMS\Serializer\Annotation\Type('array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?array $metadata = null; /** - * @param ?string $customerId - * @param ?int $amount - * @param ?PaymentProcessor $paymentProcessor + * @param string $customerId + * @param int $amount + * @param PaymentProcessor $paymentProcessor * @param ?string $eventName - * @param ?string $invoiceId * @param ?string $currency + * @param ?string $invoiceId * @param ?array $metadata */ - public function __construct(?string $customerId = null, ?int $amount = null, ?PaymentProcessor $paymentProcessor = null, ?string $eventName = null, ?string $invoiceId = null, ?string $currency = null, ?array $metadata = null) + public function __construct(string $customerId, int $amount, PaymentProcessor $paymentProcessor, ?string $eventName = null, ?string $currency = null, ?string $invoiceId = null, ?array $metadata = null) { $this->customerId = $customerId; $this->amount = $amount; $this->paymentProcessor = $paymentProcessor; $this->eventName = $eventName; - $this->invoiceId = $invoiceId; $this->currency = $currency; + $this->invoiceId = $invoiceId; $this->metadata = $metadata; } } \ No newline at end of file diff --git a/src/Models/Operations/TrackSaleResponse.php b/src/Models/Operations/TrackSaleResponse.php index ec407ac..0eae487 100644 --- a/src/Models/Operations/TrackSaleResponse.php +++ b/src/Models/Operations/TrackSaleResponse.php @@ -40,12 +40,12 @@ class TrackSaleResponse public ?TrackSaleResponseBody $object = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?TrackSaleResponseBody $object */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?TrackSaleResponseBody $object = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?TrackSaleResponseBody $object = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/TrackSaleResponseBody.php b/src/Models/Operations/TrackSaleResponseBody.php index 89d18e9..5ec12b7 100644 --- a/src/Models/Operations/TrackSaleResponseBody.php +++ b/src/Models/Operations/TrackSaleResponseBody.php @@ -36,11 +36,11 @@ class TrackSaleResponseBody public Sale $sale; /** - * @param ?string $eventName - * @param ?TrackSaleCustomer $customer - * @param ?Sale $sale + * @param string $eventName + * @param TrackSaleCustomer $customer + * @param Sale $sale */ - public function __construct(?string $eventName = null, ?TrackSaleCustomer $customer = null, ?Sale $sale = null) + public function __construct(string $eventName, TrackSaleCustomer $customer, Sale $sale) { $this->eventName = $eventName; $this->customer = $customer; diff --git a/src/Models/Operations/UpdateDomainRequest.php b/src/Models/Operations/UpdateDomainRequest.php index 7fec258..0099f15 100644 --- a/src/Models/Operations/UpdateDomainRequest.php +++ b/src/Models/Operations/UpdateDomainRequest.php @@ -27,10 +27,10 @@ class UpdateDomainRequest public ?UpdateDomainRequestBody $requestBody = null; /** - * @param ?string $slug + * @param string $slug * @param ?UpdateDomainRequestBody $requestBody */ - public function __construct(?string $slug = null, ?UpdateDomainRequestBody $requestBody = null) + public function __construct(string $slug, ?UpdateDomainRequestBody $requestBody = null) { $this->slug = $slug; $this->requestBody = $requestBody; diff --git a/src/Models/Operations/UpdateDomainRequestBody.php b/src/Models/Operations/UpdateDomainRequestBody.php index 9d5f2b4..8e79347 100644 --- a/src/Models/Operations/UpdateDomainRequestBody.php +++ b/src/Models/Operations/UpdateDomainRequestBody.php @@ -17,7 +17,7 @@ class UpdateDomainRequestBody * @var ?string $slug */ #[\JMS\Serializer\Annotation\SerializedName('slug')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $slug = null; /** @@ -26,7 +26,7 @@ class UpdateDomainRequestBody * @var ?string $expiredUrl */ #[\JMS\Serializer\Annotation\SerializedName('expiredUrl')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiredUrl = null; /** @@ -35,7 +35,7 @@ class UpdateDomainRequestBody * @var ?bool $archived */ #[\JMS\Serializer\Annotation\SerializedName('archived')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $archived = null; /** @@ -44,20 +44,20 @@ class UpdateDomainRequestBody * @var ?string $placeholder */ #[\JMS\Serializer\Annotation\SerializedName('placeholder')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $placeholder = null; /** * @param ?string $slug - * @param ?string $expiredUrl * @param ?bool $archived + * @param ?string $expiredUrl * @param ?string $placeholder */ - public function __construct(?string $slug = null, ?string $expiredUrl = null, ?bool $archived = null, ?string $placeholder = null) + public function __construct(?string $slug = null, ?bool $archived = null, ?string $expiredUrl = null, ?string $placeholder = null) { $this->slug = $slug; - $this->expiredUrl = $expiredUrl; $this->archived = $archived; + $this->expiredUrl = $expiredUrl; $this->placeholder = $placeholder; } } \ No newline at end of file diff --git a/src/Models/Operations/UpdateDomainResponse.php b/src/Models/Operations/UpdateDomainResponse.php index eb8844b..242aee1 100644 --- a/src/Models/Operations/UpdateDomainResponse.php +++ b/src/Models/Operations/UpdateDomainResponse.php @@ -40,12 +40,12 @@ class UpdateDomainResponse public ?Components\DomainSchema $domainSchema = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?Components\DomainSchema $domainSchema */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Components\DomainSchema $domainSchema = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Components\DomainSchema $domainSchema = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/UpdateLinkRequest.php b/src/Models/Operations/UpdateLinkRequest.php index 0605b58..e46f241 100644 --- a/src/Models/Operations/UpdateLinkRequest.php +++ b/src/Models/Operations/UpdateLinkRequest.php @@ -27,10 +27,10 @@ class UpdateLinkRequest public ?UpdateLinkRequestBody $requestBody = null; /** - * @param ?string $linkId + * @param string $linkId * @param ?UpdateLinkRequestBody $requestBody */ - public function __construct(?string $linkId = null, ?UpdateLinkRequestBody $requestBody = null) + public function __construct(string $linkId, ?UpdateLinkRequestBody $requestBody = null) { $this->linkId = $linkId; $this->requestBody = $requestBody; diff --git a/src/Models/Operations/UpdateLinkRequestBody.php b/src/Models/Operations/UpdateLinkRequestBody.php index 3a05c22..3de3987 100644 --- a/src/Models/Operations/UpdateLinkRequestBody.php +++ b/src/Models/Operations/UpdateLinkRequestBody.php @@ -17,7 +17,7 @@ class UpdateLinkRequestBody * @var ?string $url */ #[\JMS\Serializer\Annotation\SerializedName('url')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $url = null; /** @@ -26,7 +26,7 @@ class UpdateLinkRequestBody * @var ?string $domain */ #[\JMS\Serializer\Annotation\SerializedName('domain')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $domain = null; /** @@ -35,7 +35,7 @@ class UpdateLinkRequestBody * @var ?string $key */ #[\JMS\Serializer\Annotation\SerializedName('key')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $key = null; /** @@ -44,7 +44,7 @@ class UpdateLinkRequestBody * @var ?string $externalId */ #[\JMS\Serializer\Annotation\SerializedName('externalId')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $externalId = null; /** @@ -53,7 +53,7 @@ class UpdateLinkRequestBody * @var ?string $prefix */ #[\JMS\Serializer\Annotation\SerializedName('prefix')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $prefix = null; /** @@ -62,7 +62,7 @@ class UpdateLinkRequestBody * @var ?bool $trackConversion */ #[\JMS\Serializer\Annotation\SerializedName('trackConversion')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $trackConversion = null; /** @@ -71,7 +71,7 @@ class UpdateLinkRequestBody * @var ?bool $archived */ #[\JMS\Serializer\Annotation\SerializedName('archived')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $archived = null; /** @@ -80,7 +80,7 @@ class UpdateLinkRequestBody * @var ?bool $publicStats */ #[\JMS\Serializer\Annotation\SerializedName('publicStats')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $publicStats = null; /** @@ -90,7 +90,7 @@ class UpdateLinkRequestBody * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ #[\JMS\Serializer\Annotation\SerializedName('tagId')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tagId = null; /** @@ -99,8 +99,8 @@ class UpdateLinkRequestBody * @var string|array|null $tagIds */ #[\JMS\Serializer\Annotation\SerializedName('tagIds')] - #[\JMS\Serializer\Annotation\Type('string|array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\Type('string|array')] + #[\JMS\Serializer\Annotation\SkipWhenNull] public string|array|null $tagIds = null; /** @@ -109,8 +109,8 @@ class UpdateLinkRequestBody * @var string|array|null $tagNames */ #[\JMS\Serializer\Annotation\SerializedName('tagNames')] - #[\JMS\Serializer\Annotation\Type('string|array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\Type('string|array')] + #[\JMS\Serializer\Annotation\SkipWhenNull] public string|array|null $tagNames = null; /** @@ -119,7 +119,7 @@ class UpdateLinkRequestBody * @var ?string $comments */ #[\JMS\Serializer\Annotation\SerializedName('comments')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $comments = null; /** @@ -128,7 +128,7 @@ class UpdateLinkRequestBody * @var ?string $expiresAt */ #[\JMS\Serializer\Annotation\SerializedName('expiresAt')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiresAt = null; /** @@ -137,7 +137,7 @@ class UpdateLinkRequestBody * @var ?string $expiredUrl */ #[\JMS\Serializer\Annotation\SerializedName('expiredUrl')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiredUrl = null; /** @@ -146,7 +146,7 @@ class UpdateLinkRequestBody * @var ?string $password */ #[\JMS\Serializer\Annotation\SerializedName('password')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $password = null; /** @@ -155,7 +155,7 @@ class UpdateLinkRequestBody * @var ?bool $proxy */ #[\JMS\Serializer\Annotation\SerializedName('proxy')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $proxy = null; /** @@ -164,7 +164,7 @@ class UpdateLinkRequestBody * @var ?string $title */ #[\JMS\Serializer\Annotation\SerializedName('title')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $title = null; /** @@ -173,7 +173,7 @@ class UpdateLinkRequestBody * @var ?string $description */ #[\JMS\Serializer\Annotation\SerializedName('description')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $description = null; /** @@ -182,7 +182,7 @@ class UpdateLinkRequestBody * @var ?string $image */ #[\JMS\Serializer\Annotation\SerializedName('image')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $image = null; /** @@ -191,7 +191,7 @@ class UpdateLinkRequestBody * @var ?string $video */ #[\JMS\Serializer\Annotation\SerializedName('video')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $video = null; /** @@ -200,7 +200,7 @@ class UpdateLinkRequestBody * @var ?bool $rewrite */ #[\JMS\Serializer\Annotation\SerializedName('rewrite')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $rewrite = null; /** @@ -209,7 +209,7 @@ class UpdateLinkRequestBody * @var ?string $ios */ #[\JMS\Serializer\Annotation\SerializedName('ios')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ios = null; /** @@ -218,7 +218,7 @@ class UpdateLinkRequestBody * @var ?string $android */ #[\JMS\Serializer\Annotation\SerializedName('android')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $android = null; /** @@ -228,7 +228,7 @@ class UpdateLinkRequestBody */ #[\JMS\Serializer\Annotation\SerializedName('geo')] #[\JMS\Serializer\Annotation\Type('\Dub\Models\Components\LinkGeoTargeting|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?Components\LinkGeoTargeting $geo = null; /** @@ -237,7 +237,7 @@ class UpdateLinkRequestBody * @var ?bool $doIndex */ #[\JMS\Serializer\Annotation\SerializedName('doIndex')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $doIndex = null; /** @@ -246,7 +246,7 @@ class UpdateLinkRequestBody * @var ?string $utmSource */ #[\JMS\Serializer\Annotation\SerializedName('utm_source')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmSource = null; /** @@ -255,7 +255,7 @@ class UpdateLinkRequestBody * @var ?string $utmMedium */ #[\JMS\Serializer\Annotation\SerializedName('utm_medium')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmMedium = null; /** @@ -264,7 +264,7 @@ class UpdateLinkRequestBody * @var ?string $utmCampaign */ #[\JMS\Serializer\Annotation\SerializedName('utm_campaign')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmCampaign = null; /** @@ -273,7 +273,7 @@ class UpdateLinkRequestBody * @var ?string $utmTerm */ #[\JMS\Serializer\Annotation\SerializedName('utm_term')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmTerm = null; /** @@ -282,68 +282,68 @@ class UpdateLinkRequestBody * @var ?string $utmContent */ #[\JMS\Serializer\Annotation\SerializedName('utm_content')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmContent = null; /** * @param ?string $url * @param ?string $domain * @param ?string $key - * @param ?string $externalId * @param ?string $prefix * @param ?bool $trackConversion * @param ?bool $archived * @param ?bool $publicStats - * @param ?string $tagId * @param string|array|null $tagIds * @param string|array|null $tagNames + * @param ?bool $proxy + * @param ?bool $rewrite + * @param ?bool $doIndex + * @param ?string $externalId + * @param ?string $tagId * @param ?string $comments * @param ?string $expiresAt * @param ?string $expiredUrl * @param ?string $password - * @param ?bool $proxy * @param ?string $title * @param ?string $description * @param ?string $image * @param ?string $video - * @param ?bool $rewrite * @param ?string $ios * @param ?string $android * @param ?Components\LinkGeoTargeting $geo - * @param ?bool $doIndex * @param ?string $utmSource * @param ?string $utmMedium * @param ?string $utmCampaign * @param ?string $utmTerm * @param ?string $utmContent */ - public function __construct(?string $url = null, ?string $domain = null, ?string $key = null, ?string $externalId = null, ?string $prefix = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $publicStats = null, ?string $tagId = null, string|array|null $tagIds = null, string|array|null $tagNames = null, ?string $comments = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?bool $proxy = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?bool $rewrite = null, ?string $ios = null, ?string $android = null, ?Components\LinkGeoTargeting $geo = null, ?bool $doIndex = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null) + public function __construct(?string $url = null, ?string $domain = null, ?string $key = null, ?string $prefix = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $publicStats = null, string|array|null $tagIds = null, string|array|null $tagNames = null, ?bool $proxy = null, ?bool $rewrite = null, ?bool $doIndex = null, ?string $externalId = null, ?string $tagId = null, ?string $comments = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?string $ios = null, ?string $android = null, ?Components\LinkGeoTargeting $geo = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null) { $this->url = $url; $this->domain = $domain; $this->key = $key; - $this->externalId = $externalId; $this->prefix = $prefix; $this->trackConversion = $trackConversion; $this->archived = $archived; $this->publicStats = $publicStats; - $this->tagId = $tagId; $this->tagIds = $tagIds; $this->tagNames = $tagNames; + $this->proxy = $proxy; + $this->rewrite = $rewrite; + $this->doIndex = $doIndex; + $this->externalId = $externalId; + $this->tagId = $tagId; $this->comments = $comments; $this->expiresAt = $expiresAt; $this->expiredUrl = $expiredUrl; $this->password = $password; - $this->proxy = $proxy; $this->title = $title; $this->description = $description; $this->image = $image; $this->video = $video; - $this->rewrite = $rewrite; $this->ios = $ios; $this->android = $android; $this->geo = $geo; - $this->doIndex = $doIndex; $this->utmSource = $utmSource; $this->utmMedium = $utmMedium; $this->utmCampaign = $utmCampaign; diff --git a/src/Models/Operations/UpdateLinkResponse.php b/src/Models/Operations/UpdateLinkResponse.php index c36c458..e1da8e4 100644 --- a/src/Models/Operations/UpdateLinkResponse.php +++ b/src/Models/Operations/UpdateLinkResponse.php @@ -40,12 +40,12 @@ class UpdateLinkResponse public ?Components\LinkSchema $linkSchema = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?Components\LinkSchema $linkSchema */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Components\LinkSchema $linkSchema = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Components\LinkSchema $linkSchema = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/UpdateTagRequest.php b/src/Models/Operations/UpdateTagRequest.php index fb4ac4c..df82872 100644 --- a/src/Models/Operations/UpdateTagRequest.php +++ b/src/Models/Operations/UpdateTagRequest.php @@ -27,10 +27,10 @@ class UpdateTagRequest public ?UpdateTagRequestBody $requestBody = null; /** - * @param ?string $id + * @param string $id * @param ?UpdateTagRequestBody $requestBody */ - public function __construct(?string $id = null, ?UpdateTagRequestBody $requestBody = null) + public function __construct(string $id, ?UpdateTagRequestBody $requestBody = null) { $this->id = $id; $this->requestBody = $requestBody; diff --git a/src/Models/Operations/UpdateTagRequestBody.php b/src/Models/Operations/UpdateTagRequestBody.php index 1bfda4e..615377b 100644 --- a/src/Models/Operations/UpdateTagRequestBody.php +++ b/src/Models/Operations/UpdateTagRequestBody.php @@ -17,7 +17,7 @@ class UpdateTagRequestBody * @var ?string $name */ #[\JMS\Serializer\Annotation\SerializedName('name')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $name = null; /** @@ -27,7 +27,7 @@ class UpdateTagRequestBody */ #[\JMS\Serializer\Annotation\SerializedName('color')] #[\JMS\Serializer\Annotation\Type('\Dub\Models\Operations\UpdateTagColor|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?UpdateTagColor $color = null; /** @@ -37,7 +37,7 @@ class UpdateTagRequestBody * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ #[\JMS\Serializer\Annotation\SerializedName('tag')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tag = null; /** diff --git a/src/Models/Operations/UpdateTagResponse.php b/src/Models/Operations/UpdateTagResponse.php index 28ddd02..a4d8a56 100644 --- a/src/Models/Operations/UpdateTagResponse.php +++ b/src/Models/Operations/UpdateTagResponse.php @@ -40,12 +40,12 @@ class UpdateTagResponse public ?Components\TagSchema $tagSchema = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?Components\TagSchema $tagSchema */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Components\TagSchema $tagSchema = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Components\TagSchema $tagSchema = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/UpdateWorkspaceRequest.php b/src/Models/Operations/UpdateWorkspaceRequest.php index 0f9293e..475b03f 100644 --- a/src/Models/Operations/UpdateWorkspaceRequest.php +++ b/src/Models/Operations/UpdateWorkspaceRequest.php @@ -27,10 +27,10 @@ class UpdateWorkspaceRequest public ?UpdateWorkspaceRequestBody $requestBody = null; /** - * @param ?string $idOrSlug + * @param string $idOrSlug * @param ?UpdateWorkspaceRequestBody $requestBody */ - public function __construct(?string $idOrSlug = null, ?UpdateWorkspaceRequestBody $requestBody = null) + public function __construct(string $idOrSlug, ?UpdateWorkspaceRequestBody $requestBody = null) { $this->idOrSlug = $idOrSlug; $this->requestBody = $requestBody; diff --git a/src/Models/Operations/UpdateWorkspaceRequestBody.php b/src/Models/Operations/UpdateWorkspaceRequestBody.php index eb8be6e..cb3d8bb 100644 --- a/src/Models/Operations/UpdateWorkspaceRequestBody.php +++ b/src/Models/Operations/UpdateWorkspaceRequestBody.php @@ -16,7 +16,7 @@ class UpdateWorkspaceRequestBody * @var ?string $name */ #[\JMS\Serializer\Annotation\SerializedName('name')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $name = null; /** @@ -24,7 +24,7 @@ class UpdateWorkspaceRequestBody * @var ?string $slug */ #[\JMS\Serializer\Annotation\SerializedName('slug')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $slug = null; /** diff --git a/src/Models/Operations/UpdateWorkspaceResponse.php b/src/Models/Operations/UpdateWorkspaceResponse.php index b1d8cbd..acc93a6 100644 --- a/src/Models/Operations/UpdateWorkspaceResponse.php +++ b/src/Models/Operations/UpdateWorkspaceResponse.php @@ -40,12 +40,12 @@ class UpdateWorkspaceResponse public ?Components\WorkspaceSchema $workspaceSchema = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?Components\WorkspaceSchema $workspaceSchema */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Components\WorkspaceSchema $workspaceSchema = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Components\WorkspaceSchema $workspaceSchema = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/Models/Operations/UpsertLinkRequestBody.php b/src/Models/Operations/UpsertLinkRequestBody.php index b30e32d..79a8abf 100644 --- a/src/Models/Operations/UpsertLinkRequestBody.php +++ b/src/Models/Operations/UpsertLinkRequestBody.php @@ -25,7 +25,7 @@ class UpsertLinkRequestBody * @var ?string $domain */ #[\JMS\Serializer\Annotation\SerializedName('domain')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $domain = null; /** @@ -34,7 +34,7 @@ class UpsertLinkRequestBody * @var ?string $key */ #[\JMS\Serializer\Annotation\SerializedName('key')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $key = null; /** @@ -43,7 +43,7 @@ class UpsertLinkRequestBody * @var ?string $externalId */ #[\JMS\Serializer\Annotation\SerializedName('externalId')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $externalId = null; /** @@ -52,7 +52,7 @@ class UpsertLinkRequestBody * @var ?string $prefix */ #[\JMS\Serializer\Annotation\SerializedName('prefix')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $prefix = null; /** @@ -61,7 +61,7 @@ class UpsertLinkRequestBody * @var ?bool $trackConversion */ #[\JMS\Serializer\Annotation\SerializedName('trackConversion')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $trackConversion = null; /** @@ -70,7 +70,7 @@ class UpsertLinkRequestBody * @var ?bool $archived */ #[\JMS\Serializer\Annotation\SerializedName('archived')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $archived = null; /** @@ -79,7 +79,7 @@ class UpsertLinkRequestBody * @var ?bool $publicStats */ #[\JMS\Serializer\Annotation\SerializedName('publicStats')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $publicStats = null; /** @@ -89,7 +89,7 @@ class UpsertLinkRequestBody * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ #[\JMS\Serializer\Annotation\SerializedName('tagId')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $tagId = null; /** @@ -98,8 +98,8 @@ class UpsertLinkRequestBody * @var string|array|null $tagIds */ #[\JMS\Serializer\Annotation\SerializedName('tagIds')] - #[\JMS\Serializer\Annotation\Type('string|array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\Type('string|array')] + #[\JMS\Serializer\Annotation\SkipWhenNull] public string|array|null $tagIds = null; /** @@ -108,8 +108,8 @@ class UpsertLinkRequestBody * @var string|array|null $tagNames */ #[\JMS\Serializer\Annotation\SerializedName('tagNames')] - #[\JMS\Serializer\Annotation\Type('string|array|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\Type('string|array')] + #[\JMS\Serializer\Annotation\SkipWhenNull] public string|array|null $tagNames = null; /** @@ -118,7 +118,7 @@ class UpsertLinkRequestBody * @var ?string $comments */ #[\JMS\Serializer\Annotation\SerializedName('comments')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $comments = null; /** @@ -127,7 +127,7 @@ class UpsertLinkRequestBody * @var ?string $expiresAt */ #[\JMS\Serializer\Annotation\SerializedName('expiresAt')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiresAt = null; /** @@ -136,7 +136,7 @@ class UpsertLinkRequestBody * @var ?string $expiredUrl */ #[\JMS\Serializer\Annotation\SerializedName('expiredUrl')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $expiredUrl = null; /** @@ -145,7 +145,7 @@ class UpsertLinkRequestBody * @var ?string $password */ #[\JMS\Serializer\Annotation\SerializedName('password')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $password = null; /** @@ -154,7 +154,7 @@ class UpsertLinkRequestBody * @var ?bool $proxy */ #[\JMS\Serializer\Annotation\SerializedName('proxy')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $proxy = null; /** @@ -163,7 +163,7 @@ class UpsertLinkRequestBody * @var ?string $title */ #[\JMS\Serializer\Annotation\SerializedName('title')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $title = null; /** @@ -172,7 +172,7 @@ class UpsertLinkRequestBody * @var ?string $description */ #[\JMS\Serializer\Annotation\SerializedName('description')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $description = null; /** @@ -181,7 +181,7 @@ class UpsertLinkRequestBody * @var ?string $image */ #[\JMS\Serializer\Annotation\SerializedName('image')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $image = null; /** @@ -190,7 +190,7 @@ class UpsertLinkRequestBody * @var ?string $video */ #[\JMS\Serializer\Annotation\SerializedName('video')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $video = null; /** @@ -199,7 +199,7 @@ class UpsertLinkRequestBody * @var ?bool $rewrite */ #[\JMS\Serializer\Annotation\SerializedName('rewrite')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $rewrite = null; /** @@ -208,7 +208,7 @@ class UpsertLinkRequestBody * @var ?string $ios */ #[\JMS\Serializer\Annotation\SerializedName('ios')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $ios = null; /** @@ -217,7 +217,7 @@ class UpsertLinkRequestBody * @var ?string $android */ #[\JMS\Serializer\Annotation\SerializedName('android')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $android = null; /** @@ -227,7 +227,7 @@ class UpsertLinkRequestBody */ #[\JMS\Serializer\Annotation\SerializedName('geo')] #[\JMS\Serializer\Annotation\Type('\Dub\Models\Components\LinkGeoTargeting|null')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?Components\LinkGeoTargeting $geo = null; /** @@ -236,7 +236,7 @@ class UpsertLinkRequestBody * @var ?bool $doIndex */ #[\JMS\Serializer\Annotation\SerializedName('doIndex')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?bool $doIndex = null; /** @@ -245,7 +245,7 @@ class UpsertLinkRequestBody * @var ?string $utmSource */ #[\JMS\Serializer\Annotation\SerializedName('utm_source')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmSource = null; /** @@ -254,7 +254,7 @@ class UpsertLinkRequestBody * @var ?string $utmMedium */ #[\JMS\Serializer\Annotation\SerializedName('utm_medium')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmMedium = null; /** @@ -263,7 +263,7 @@ class UpsertLinkRequestBody * @var ?string $utmCampaign */ #[\JMS\Serializer\Annotation\SerializedName('utm_campaign')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmCampaign = null; /** @@ -272,7 +272,7 @@ class UpsertLinkRequestBody * @var ?string $utmTerm */ #[\JMS\Serializer\Annotation\SerializedName('utm_term')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmTerm = null; /** @@ -281,68 +281,68 @@ class UpsertLinkRequestBody * @var ?string $utmContent */ #[\JMS\Serializer\Annotation\SerializedName('utm_content')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] + #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $utmContent = null; /** - * @param ?string $url + * @param string $url * @param ?string $domain * @param ?string $key - * @param ?string $externalId * @param ?string $prefix * @param ?bool $trackConversion * @param ?bool $archived * @param ?bool $publicStats - * @param ?string $tagId * @param string|array|null $tagIds * @param string|array|null $tagNames + * @param ?bool $proxy + * @param ?bool $rewrite + * @param ?bool $doIndex + * @param ?string $externalId + * @param ?string $tagId * @param ?string $comments * @param ?string $expiresAt * @param ?string $expiredUrl * @param ?string $password - * @param ?bool $proxy * @param ?string $title * @param ?string $description * @param ?string $image * @param ?string $video - * @param ?bool $rewrite * @param ?string $ios * @param ?string $android * @param ?Components\LinkGeoTargeting $geo - * @param ?bool $doIndex * @param ?string $utmSource * @param ?string $utmMedium * @param ?string $utmCampaign * @param ?string $utmTerm * @param ?string $utmContent */ - public function __construct(?string $url = null, ?string $domain = null, ?string $key = null, ?string $externalId = null, ?string $prefix = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $publicStats = null, ?string $tagId = null, string|array|null $tagIds = null, string|array|null $tagNames = null, ?string $comments = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?bool $proxy = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?bool $rewrite = null, ?string $ios = null, ?string $android = null, ?Components\LinkGeoTargeting $geo = null, ?bool $doIndex = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null) + public function __construct(string $url, ?string $domain = null, ?string $key = null, ?string $prefix = null, ?bool $trackConversion = null, ?bool $archived = null, ?bool $publicStats = null, string|array|null $tagIds = null, string|array|null $tagNames = null, ?bool $proxy = null, ?bool $rewrite = null, ?bool $doIndex = null, ?string $externalId = null, ?string $tagId = null, ?string $comments = null, ?string $expiresAt = null, ?string $expiredUrl = null, ?string $password = null, ?string $title = null, ?string $description = null, ?string $image = null, ?string $video = null, ?string $ios = null, ?string $android = null, ?Components\LinkGeoTargeting $geo = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null) { $this->url = $url; $this->domain = $domain; $this->key = $key; - $this->externalId = $externalId; $this->prefix = $prefix; $this->trackConversion = $trackConversion; $this->archived = $archived; $this->publicStats = $publicStats; - $this->tagId = $tagId; $this->tagIds = $tagIds; $this->tagNames = $tagNames; + $this->proxy = $proxy; + $this->rewrite = $rewrite; + $this->doIndex = $doIndex; + $this->externalId = $externalId; + $this->tagId = $tagId; $this->comments = $comments; $this->expiresAt = $expiresAt; $this->expiredUrl = $expiredUrl; $this->password = $password; - $this->proxy = $proxy; $this->title = $title; $this->description = $description; $this->image = $image; $this->video = $video; - $this->rewrite = $rewrite; $this->ios = $ios; $this->android = $android; $this->geo = $geo; - $this->doIndex = $doIndex; $this->utmSource = $utmSource; $this->utmMedium = $utmMedium; $this->utmCampaign = $utmCampaign; diff --git a/src/Models/Operations/UpsertLinkResponse.php b/src/Models/Operations/UpsertLinkResponse.php index 8ebd6be..3f9a7c5 100644 --- a/src/Models/Operations/UpsertLinkResponse.php +++ b/src/Models/Operations/UpsertLinkResponse.php @@ -40,12 +40,12 @@ class UpsertLinkResponse public ?Components\LinkSchema $linkSchema = null; /** - * @param ?string $contentType - * @param ?int $statusCode - * @param ?\Psr\Http\Message\ResponseInterface $rawResponse + * @param string $contentType + * @param int $statusCode + * @param \Psr\Http\Message\ResponseInterface $rawResponse * @param ?Components\LinkSchema $linkSchema */ - public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Components\LinkSchema $linkSchema = null) + public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Components\LinkSchema $linkSchema = null) { $this->contentType = $contentType; $this->statusCode = $statusCode; diff --git a/src/QRCodes.php b/src/QRCodes.php index 6bdf07b..6429ded 100644 --- a/src/QRCodes.php +++ b/src/QRCodes.php @@ -14,7 +14,6 @@ class QRCodes { private SDKConfiguration $sdkConfiguration; - /** * @param SDKConfiguration $sdkConfig */ @@ -138,4 +137,5 @@ public function get( throw new \Dub\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); } } + } \ No newline at end of file diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 4ddd822..fbdc630 100644 --- a/src/SDKConfiguration.php +++ b/src/SDKConfiguration.php @@ -27,11 +27,11 @@ class SDKConfiguration public string $openapiDocVersion = '0.0.1'; - public string $sdkVersion = '0.4.4'; + public string $sdkVersion = '0.5.0'; - public string $genVersion = '2.413.0'; + public string $genVersion = '2.415.0'; - public string $userAgent = 'speakeasy-sdk/php 0.4.4 2.413.0 0.0.1 dub/dub-php'; + public string $userAgent = 'speakeasy-sdk/php 0.5.0 2.415.0 0.0.1 dub/dub-php'; public function getServerUrl(): string { diff --git a/src/Tags.php b/src/Tags.php index 19579b8..82f06aa 100644 --- a/src/Tags.php +++ b/src/Tags.php @@ -14,7 +14,6 @@ class Tags { private SDKConfiguration $sdkConfiguration; - /** * @param SDKConfiguration $sdkConfig */ @@ -505,4 +504,5 @@ public function update( throw new \Dub\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); } } + } \ No newline at end of file diff --git a/src/Track.php b/src/Track.php index 5558557..0ccb8a4 100644 --- a/src/Track.php +++ b/src/Track.php @@ -14,7 +14,6 @@ class Track { private SDKConfiguration $sdkConfiguration; - /** * @param SDKConfiguration $sdkConfig */ @@ -385,4 +384,5 @@ public function customer( throw new \Dub\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); } } + } \ No newline at end of file diff --git a/src/Utils/DateHandler.php b/src/Utils/DateHandler.php index a054392..0d5f628 100644 --- a/src/Utils/DateHandler.php +++ b/src/Utils/DateHandler.php @@ -32,6 +32,18 @@ public static function getSubscribingMethods(): array 'type' => '\\Brick\\DateTime\\LocalDate', 'method' => 'deserializeDateTimeToJson', ], + [ + 'direction' => GraphNavigator::DIRECTION_SERIALIZATION, + 'format' => 'json', + 'type' => 'Brick\\DateTime\\LocalDate', + 'method' => 'serializeDateTimeToJson', + ], + [ + 'direction' => GraphNavigator::DIRECTION_DESERIALIZATION, + 'format' => 'json', + 'type' => 'Brick\\DateTime\\LocalDate', + 'method' => 'deserializeDateTimeToJson', + ], ]; } diff --git a/src/Utils/DateTimeHandler.php b/src/Utils/DateTimeHandler.php index b40607c..04d29f4 100644 --- a/src/Utils/DateTimeHandler.php +++ b/src/Utils/DateTimeHandler.php @@ -32,6 +32,18 @@ public static function getSubscribingMethods(): array 'type' => '\DateTime', 'method' => 'deserializeDateTimeToJson', ], + [ + 'direction' => GraphNavigator::DIRECTION_SERIALIZATION, + 'format' => 'json', + 'type' => 'DateTime', + 'method' => 'serializeDateTimeToJson', + ], + [ + 'direction' => GraphNavigator::DIRECTION_DESERIALIZATION, + 'format' => 'json', + 'type' => 'DateTime', + 'method' => 'deserializeDateTimeToJson', + ], ]; } diff --git a/src/Utils/DefaultRequest.php b/src/Utils/DefaultRequest.php new file mode 100644 index 0000000..5fa64a0 --- /dev/null +++ b/src/Utils/DefaultRequest.php @@ -0,0 +1,106 @@ +registerSubscribingHandler(new DateHandler()); $registry->registerSubscribingHandler(new UnionHandler()); }, - )->setTypeParser(new PhpDocTypeParser())->build(); + )->setTypeParser(new PhpDocTypeParser() + )->setSerializationContextFactory(function () { + return SerializationContext::create() + ->setSerializeNull(true); + })->build(); } } diff --git a/src/Utils/UnionHandler.php b/src/Utils/UnionHandler.php index a16abe9..1f1599f 100644 --- a/src/Utils/UnionHandler.php +++ b/src/Utils/UnionHandler.php @@ -82,10 +82,19 @@ public function serializeUnion( 'params' => ['name' => $innerType, 'params' => []], ]; } else { - $resolvedType = [ - 'name' => get_class($data), - 'params' => [], - ]; + $resolvedType = null; + foreach ($type['params'] as $possibleType) { + if ($possibleType['name'] === 'enum' && $possibleType['params'][0]['name'] === get_class($data)) { + $resolvedType = $possibleType; + break; + } + } + if ($resolvedType === null) { + $resolvedType = [ + 'name' => get_class($data), + 'params' => [], + ]; + } } return $context->getNavigator()->accept($data, $resolvedType); diff --git a/src/Workspaces.php b/src/Workspaces.php index 465d07b..e6b59e5 100644 --- a/src/Workspaces.php +++ b/src/Workspaces.php @@ -14,7 +14,6 @@ class Workspaces { private SDKConfiguration $sdkConfiguration; - /** * @param SDKConfiguration $sdkConfig */ @@ -269,4 +268,5 @@ public function update( throw new \Dub\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse); } } + } \ No newline at end of file